[ https://issues.apache.org/jira/browse/HDFS-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897006#comment-16897006 ]
qiang Liu commented on HDFS-14669: ---------------------------------- [~ayushtkn] thanks your review add {code:java} Thread.sleep(10000); {code} before {code:java} scanner.reconcile(); {code} will cause the wait time out exception, I thought I explain this at comment-16893874 It is very strange you said you got assertionException, could you please try agin, I repeat several time and always got {code:java} java.util.concurrent.TimeoutException: Timed out waiting for condition. Thread diagnostics: {code} > TestDirectoryScanner#testDirectoryScannerInFederatedCluster fails > intermittently in trunk > ----------------------------------------------------------------------------------------- > > Key: HDFS-14669 > URL: https://issues.apache.org/jira/browse/HDFS-14669 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 3.2.0 > Environment: env free > Reporter: qiang Liu > Assignee: qiang Liu > Priority: Minor > Labels: scanner, test > Attachments: HDFS-14669-trunk-001.patch, HDFS-14669-trunk.002.patch, > HDFS-14669-trunk.003.patch > > > 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. > > Ref :: > [https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/1207/testReport/junit/org.apache.hadoop.hdfs.server.datanode/TestDirectoryScanner/testDirectoryScannerInFederatedCluster/] > -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org