hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3682) MiniDFSCluster#init should provide more info when it fails
Date Sun, 07 Oct 2012 21:26:03 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Eli Collins updated HDFS-3682:

       Resolution: Fixed
    Fix Version/s: 2.0.3-alpha
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed this and merged to branch-2. Thanks Todd.
> 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
>            Assignee: Todd Lipcon
>            Priority: Minor
>              Labels: test-fail
>             Fix For: 2.0.3-alpha
>         Attachments: hdfs-3682.txt
> 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.
> {noformat}
> org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:596)
> 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
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message