[ 
https://issues.apache.org/jira/browse/HDFS-15622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212454#comment-17212454
 ] 

Ahmed Hussein commented on HDFS-15622:
--------------------------------------

I had to change couple of Junit test files. I added a line to set the bcId to 
non "-1" value, so that it won't be considered deleted.

I checked the failing Junit tests:
 * {{TestFileChecksum}}: passes. The failure is unrelated. It fails 
intermittently.
 * {{TestReconstructStripedFileWithRandomECPolicy}}: Passes. The failure is 
intermittent.
 * {{TestDiskspaceQuotaUpdate}}: passes. failure is intermittent.
 * {{TestWebHDFS}}: testLargeDirectory fails for some time. HDFS-6543
 * {{TestFileChecksumCompositeCrc}}: passes
 * {{TestExternalStoragePolicySatisfier}}: HDFS-15456 is a recent fix for that 
test.

> 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]

Reply via email to