Skip to main content

STATE_STORE_PROVIDER_MIGRATION_INVALID_CHECKPOINT error condition

SQLSTATE: 55019

The state store provider migration checkpoint location '<checkpointLocation>' is in an invalid state.

LAST_BATCH_FAILED​

Last batch <lastBatchId> is uncommitted.

All data batches must be committed before state store provider migration.

MISSING_OFFSET_SEQ_METADATA​

Offset seq metadata is missing for batch <batchId> (offset seq version <version>).

NO_BATCH_FOUND​

No batches found in the offset log.

NO_COMMITTED_BATCH​

No committed batch exists in the commit log.

To start a new query with the target state store provider, set

spark.sql.streaming.stateStore.providerClass directly instead of using the

spark.databricks.streaming.stateStore.migrateStateStoreProvider flag.

OFFSET_SEQ_NOT_FOUND​

Offset seq not found for batch <batchId>.

SAME_PROVIDER​

The source and target state store provider are both <providerClass>.

There is nothing to migrate.

STATELESS_QUERY​

The query has no stateful operators, so there is no state store to migrate.

UNSUPPORTED_OFFSET_SEQ_VERSION​

Offset seq version <version> is not supported for state store provider migration.

UNSUPPORTED_SOURCE_PROVIDER​

<providerClass> is not supported as the source for state store provider migration.

Only HDFSBackedStateStoreProvider (and its subclasses) is supported.

UNSUPPORTED_TARGET_PROVIDER​

<providerClass> is not supported as the target for state store provider migration.

Only RocksDBStateStoreProvider (and its subclasses) is supported.