hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9354) Fix TestBalancer#testBalancerWithZeroThreadsForMove on Windows
Date Sat, 31 Oct 2015 08:39:27 GMT
Xiaoyu Yao created HDFS-9354:

             Summary: Fix TestBalancer#testBalancerWithZeroThreadsForMove on Windows
                 Key: HDFS-9354
                 URL: https://issues.apache.org/jira/browse/HDFS-9354
             Project: Hadoop HDFS
          Issue Type: Test
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao

This negative test expect HadoopIllegalArgumentException on illegal configuration. It uses
JUnit (expected=HadoopIllegalArgumentException.class)  and passed fine on Linux.

On windows, this test passes as well. But it left open handles on NN metadata directories
used by MiniDFSCluster. As a result, quite a few of subsequent TestBalancer unit tests can't
start MiniDFSCluster. The open handles prevents them from cleaning up NN metadata directories
on Windows. 

This JIRA is opened to explicitly catch the Exception and ensure the test cluster is properly

This message was sent by Atlassian JIRA

View raw message