S01003

Error Code

S01003

Error Message

deleteSubChunks failed on <path> because the chunk <chunkId> is not in COMPLETE state. RefId:S01003

Probable Causes

When a user deletes databases and tables, or the system cleans up stale chunks, a transaction will attempt to delete the corresponding chunks. If a chunk is found in building state and there is no pending recovery task, this error is thrown because the chunk cannot be deleted.

In the error message, <path> is the file path in the distributed file system, and <chunkId> is a GUID (globally unique identifier) of a partition.

Solutions

  • Wait for the transaction involving the chunk to complete before deleting the database or table.

  • Revoke the background task that involves the transaction before deleting the database or table.