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

Yongjun Zhang commented on HDFS-6719:
-------------------------------------

I think I found the root cause of this "intermittent" failure: the test root 
dir set with system property "test.build.data" is not created by this test, as 
it is supposed to do. And the reason that it can succeed often is because all 
tests are run together, the test root dir used by this test is actually created 
by other test.  It fails sometimes because the test root dir can be removed by 
some tests (depending on the order that the tests are run). 

So the solution is to create the test root. Posted patch 004.





> org.apache.hadoop.fs.TestDFVariations.testMount failed intermittently because 
> specified path doesn't exist
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6719
>                 URL: https://issues.apache.org/jira/browse/HDFS-6719
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HDFS-6719.001.dbg.patch, HDFS-6719.002.dbg.patch, 
> HDFS-6719.003.dbg.patch, HDFS-6719.004.dbg.patch, HDFS-6719.005.patch
>
>
> Failure message:
> {code}
> Error Message
> Specified path 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-common-project/hadoop-common/target/test/datadoes
>  not exist
> Stacktrace
> java.io.FileNotFoundException: Specified path 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-common-project/hadoop-common/target/test/datadoes
>  not exist
>       at org.apache.hadoop.fs.DF.getMount(DF.java:109)
>       at 
> org.apache.hadoop.fs.TestDFVariations.testMount(TestDFVariations.java:54)
> Standard Output
> java.io.IOException: Fewer lines of output than expected: Filesystem     
> 1K-blocks     Used Available Use% Mounted on
> java.io.IOException: Unexpected empty line
> java.io.IOException: Could not parse line:        19222656 10597036   7649060 
>  59% /
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to