[
https://issues.apache.org/jira/browse/HDDS-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai reassigned HDDS-3644:
--------------------------------------
Assignee: Attila Doroszlai
> Failed to delete chunk file due to chunk size mismatch
> ------------------------------------------------------
>
> Key: HDDS-3644
> URL: https://issues.apache.org/jira/browse/HDDS-3644
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Sammi Chen
> Assignee: Attila Doroszlai
> Priority: Major
>
> LOGs
> {noformat}
> 2020-05-19 13:45:30,493 [BlockDeletingService#8] WARN
> org.apache.hadoop.ozone.container.keyvalue.impl.FilePerChunkStrategy: Chunk
> file doe not exist. chunk info
> :ChunkInfo{chunkName='104079328540607246_chunk_1, offset=0, len=4194304}
> 2020-05-19 13:45:30,493 [BlockDeletingService#8] ERROR
> org.apache.hadoop.ozone.container.keyvalue.impl.FilePerChunkStrategy: Not
> Supported Operation. Trying to delete a chunk that is in shared file. chunk
> info : ChunkInfo{chunkName='104079328540607246_chunk_2, offset=4194304,
> len=1048576}
> 2020-05-19 13:45:30,494 [BlockDeletingService#8] ERROR
> org.apache.hadoop.ozone.container.keyvalue.statemachine.background.BlockDeletingService:
> Failed to delete files for block #deleting#104079328540607246
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
>
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
> Not Supported Operation. Trying to delete a chunk that is in shared file.
> chunk info : ChunkInfo{chunkName='104079328540607246_chunk_2, offset=4194304,
> len=1048576}
> at
> org.apache.hadoop.ozone.container.keyvalue.impl.FilePerChunkStrategy.deleteChunks(FilePerChunkStrategy.java:286)
> at
> org.apache.hadoop.ozone.container.keyvalue.impl.ChunkManagerDispatcher.deleteChunks(ChunkManagerDispatcher.java:111)
> at
> org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.deleteBlock(KeyValueHandler.java:1043)
> at
> org.apache.hadoop.ozone.container.keyvalue.statemachine.background.BlockDeletingService$BlockDeletingTask.lambda$call$0(BlockDeletingService.java:286)
> Caused by:
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
> Not Supported Operation. Trying to delete a chunk that is in shared file.
> chunk info : ChunkInfo{chunkName='104079328540607246_chunk_2, offset=4194304,
> len=1048576}
> {noformat}
> chunk_1 is 4MB and chunk_2 is 1MB in block info.
> chunk_1 doesn't exit(might been deleted successfully) and chunk_2 is 5MB on
> disk.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]