[ https://issues.apache.org/jira/browse/HDFS-12452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16395679#comment-16395679 ]
Virajith Jalaparti commented on HDFS-12452: ------------------------------------------- I looked over the patch ( [^HDFS-12452.002.patch]) and it looks like it reduces the duration for which the BlockScanner waits on the VolumeScanner thread to shutdown in {{removeVolumeScanner}}. This would be triggered when the creation of the Rbw fails and {{checkDiskErrorAsync}} is called in {{FileIoProvider#onFailure}}. This being an asynchronous call shouldn't be in the critical path of the test finishing right? > TestDataNodeVolumeFailureReporting fails in trunk Jenkins runs > -------------------------------------------------------------- > > Key: HDFS-12452 > URL: https://issues.apache.org/jira/browse/HDFS-12452 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Arpit Agarwal > Assignee: Xiaoyu Yao > Priority: Critical > Labels: flaky-test > Attachments: HDFS-12452.001.patch, HDFS-12452.002.patch > > > TestDataNodeVolumeFailureReporting#testSuccessiveVolumeFailures fails > frequently in Jenkins runs but it passes locally on my dev machine. > e.g. > https://builds.apache.org/job/PreCommit-HDFS-Build/21134/testReport/org.apache.hadoop.hdfs.server.datanode/TestDataNodeVolumeFailureReporting/testSuccessiveVolumeFailures/ > {code} > Error Message > test timed out after 120000 milliseconds > Stacktrace > java.lang.Exception: test timed out after 120000 milliseconds > at java.lang.Thread.sleep(Native Method) > at > org.apache.hadoop.hdfs.DFSTestUtil.waitReplication(DFSTestUtil.java:761) > at > org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting.testSuccessiveVolumeFailures(TestDataNodeVolumeFailureReporting.java:189) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org