[
https://issues.apache.org/jira/browse/HDFS-15622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218087#comment-17218087
]
Kihwal Lee commented on HDFS-15622:
-----------------------------------
The patch looks good. the only minor nit is the name of one of the new
variables "corruptFlag". It sounds like it is telling something is corrupt or
user specified it to do something with corruption. Maybe it is better to make
it something more descriptive like "inCorruptLevel". The logic seems fine.
> Deleted blocks linger in the replications queue
> -----------------------------------------------
>
> Key: HDFS-15622
> URL: https://issues.apache.org/jira/browse/HDFS-15622
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Reporter: Ahmed Hussein
> Assignee: Ahmed Hussein
> Priority: Major
> Attachments: HDFS-15622.001.patch
>
>
> We had incident whereas after resolving a missing blocks incident by
> restarting two dead nodes, there were still 8 missing, but the list was
> empty. Metasave shows the 8 blocks are "orphaned" meaning the files were
> already deleted. It is unclear why they were left in the replication queue.
> * The containing node was flaky and started stoped multiple time.
> * The block allocation didn't work well due to the cluster-level storage
> space exhaustion.
> * The NN was in safe mode.
> Triggering a full block report from the node didn't have any effect. It will
> clear up if a failover happens as the repl queue will be reinitialized.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]