You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-49114][SS][FOLLOWUP] Add missing error classes into json definition file
### What changes were proposed in this pull request?
Follow up to SPARK-49114 (apache#47616). The PR added sub-categories of "cannot load state store errors", but it missed to add definition of error class into `error-conditions.json` JSON file.
### Why are the changes needed?
Newly added error classes from apache#47616 will be dangling ones without this PR.
### Does this PR introduce _any_ user-facing change?
Yes, user will see the detailed error class to identify the issue better for the case of "cannot load state store" error.
### How was this patch tested?
N/A
### Was this patch authored or co-authored using generative AI tooling?
No.
Closesapache#47690 from riyaverm-db/sub-categorize-cannot-load-state-store-errors-follow-up.
Authored-by: Riya Verma <[email protected]>
Signed-off-by: Jungtaek Lim <[email protected]>
Copy file name to clipboardExpand all lines: common/utils/src/main/resources/error/error-conditions.json
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,26 @@
256
256
"Error reading streaming state file of <fileToRead> does not exist. If the stream job is restarted with a new or updated state operation, please create a new checkpoint location or clear the existing checkpoint location."
257
257
]
258
258
},
259
+
"HDFS_STORE_PROVIDER_OUT_OF_MEMORY" : {
260
+
"message" : [
261
+
"Could not load HDFS state store with id <stateStoreId> because of an out of memory exception."
262
+
]
263
+
},
264
+
"INVALID_CHANGE_LOG_READER_VERSION" : {
265
+
"message" : [
266
+
"The change log reader version cannot be <version>."
267
+
]
268
+
},
269
+
"INVALID_CHANGE_LOG_WRITER_VERSION" : {
270
+
"message" : [
271
+
"The change log writer version cannot be <version>."
272
+
]
273
+
},
274
+
"ROCKSDB_STORE_PROVIDER_OUT_OF_MEMORY" : {
275
+
"message" : [
276
+
"Could not load RocksDB state store with id <stateStoreId> because of an out of memory exception."
277
+
]
278
+
},
259
279
"SNAPSHOT_PARTITION_ID_NOT_FOUND" : {
260
280
"message" : [
261
281
"Partition id <snapshotPartitionId> not found for state of operator <operatorId> at <checkpointLocation>."
0 commit comments