[ 
https://issues.apache.org/jira/browse/HDFS-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471529#comment-13471529
 ] 

Hudson commented on HDFS-3682:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1189 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1189/])
    HDFS-3682. MiniDFSCluster#init should provide more info when it fails. 
Contributed by Todd Lipcon (Revision 1395385)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1395385
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java

                
> 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

Reply via email to