[
https://issues.apache.org/jira/browse/HDFS-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072061#comment-14072061
]
Arpit Agarwal commented on HDFS-6719:
-------------------------------------
Nitpick, test_root need not be static. Also if you post another patch you could
consider just using the full test name for the directory instead of testdfv.
+1 with that fixed.
Separately we can check other tests for misuse of test.build.data. Quick grep
gave the following:
{code}
FSTestWrapper.java
FileContextMainOperationsBaseTest.java
FileContextTestHelper.java
FileContextURIBase.java
FileSystemTestHelper.java
MiniDFSCluster.java
TestBlocksWithNotEnoughRacks.java
TestChecksumFileSystem.java
TestCopyPreserveFlag.java
TestCreateEditsLog.java
TestDFSUpgradeFromImage.java
TestDecommissioningStatus.java
TestEnhancedByteBufferAccess.java
TestFSImageWithSnapshot.java
TestFileUtil.java
TestFsShellReturnCode.java
TestHadoopArchives.java
TestHarFileSystemBasics.java
TestHardLink.java
TestHdfsTextCommand.java
TestHostsFiles.java
TestJHLA.java
TestListFiles.java
TestLocalFileSystem.java
TestNameNodeRecovery.java
TestNativeIO.java
TestPathData.java
TestPread.java
TestRenameWithSnapshots.java
TestSeekBug.java
TestSlive.java
TestSnapshot.java
TestStartup.java
TestTextCommand.java
{code}
> 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)