hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3682) MiniDFSCluster#init should provide more info when it fails
Date Thu, 19 Jul 2012 17:34:34 GMT
Eli Collins created HDFS-3682:

             Summary: MiniDFSCluster#init should provide more info when it fails
                 Key: HDFS-3682
                 URL: https://issues.apache.org/jira/browse/HDFS-3682
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: test
    Affects Versions: 2.0.0-alpha
            Reporter: Eli Collins
            Priority: Minor

I've seen the occasional test failure due to the MiniDFSCluster init failing due to "java.io.IOException:
Cannot remove data directory" for the target/test/data/dfs/data directory. We should improve
the error handling here so we can better understand the failure, eg perhaps one of the tests
that chmods a directory fails and causes this failure.

at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:297)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:116)
at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:279)
at org.apache.hadoop.hdfs.security.TestDelegationToken.setUp(TestDelegationToken.java:77

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message