[
https://issues.apache.org/jira/browse/HDFS-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892467#comment-16892467
]
qiang Liu commented on HDFS-14669:
----------------------------------
add
Thread.sleep(10000);
before
scanner.reconcile();
can cause the test fail mostly every time
> org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner#testDirectoryScannerInFederatedCluster
> --------------------------------------------------------------------------------------------------
>
> Key: HDFS-14669
> URL: https://issues.apache.org/jira/browse/HDFS-14669
> Project: Hadoop HDFS
> Issue Type: Test
> Components: datanode
> Affects Versions: 3.2.0
> Environment: env free
> Reporter: qiang Liu
> Assignee: qiang Liu
> Priority: Minor
> Labels: scanner, test
>
> org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner#testDirectoryScannerInFederatedCluster
> radomlly Failes because of write files of the same name, meaning intent to
> write 2 files but 2 files are the same name, witch cause a race condition of
> datanode delete block and the scan action count block.
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]