[ https://issues.apache.org/jira/browse/HDFS-13652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501092#comment-16501092 ]
Anbang Hu edited comment on HDFS-13652 at 6/5/18 12:48 AM: ----------------------------------------------------------- [~elgoiri], TestBlockScanner does not have {{@After}}. It relies on {{TestContext.close()}} to do the cleanup. When {{testAppendWhileScanning}} fails, it does not have the chance to execute {{ctx.close();}}. was (Author: huanbang1993): [~elgoiri], TestBlockScanner does not have {{@After}}. It relies on {TestContext.close()}} to do the cleanup. When {{testAppendWhileScanning}} fails, it does not have the chance to execute {{ctx.close();}}. > Randomize baseDir for MiniDFSCluster in TestBlockScanner > -------------------------------------------------------- > > Key: HDFS-13652 > URL: https://issues.apache.org/jira/browse/HDFS-13652 > Project: Hadoop HDFS > Issue Type: Test > Reporter: Anbang Hu > Assignee: Anbang Hu > Priority: Minor > Labels: Windows > Attachments: HDFS-13652.000.patch > > > Leveraging -[HDFS-13408|https://issues.apache.org/jira/browse/HDFS-13408]- to > randomize baseDir for MiniDFSCluster in > [TestBlockScanner|https://builds.apache.org/job/hadoop-trunk-win/485/testReport/org.apache.hadoop.hdfs.server.datanode/TestBlockScanner/] > can keep some of them from failing on Windows after > {{testAppendWhileScanning}} errors out with {color:#d04437}All datanodes > [DatanodeInfoWithStorage[127.0.0.1:56189,DS-9a496701-4007-4592-879c-1d364d4811aa,DISK]] > are bad. Aborting...{color} and does not release MiniDFSCluster base > directory. -- 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