[
https://issues.apache.org/jira/browse/HADOOP-12589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144877#comment-15144877
]
Jason Lowe commented on HADOOP-12589:
-------------------------------------
Thanks for updating the patch! Looks good except for one question: why is
FileSystemTestHelper#getTestRootPath logic duplicated in LocalFSContract? It
looks like the only difference is test/build/data vs. target/test/data as a
fallback, default location, and I'm guessing only one of them is "correct."
Should we just have LocalFSContract call FileSystemTestHelper#getTestRootPath
directly?
> Fix intermittent test failure of TestCopyPreserveFlag
> ------------------------------------------------------
>
> Key: HADOOP-12589
> URL: https://issues.apache.org/jira/browse/HADOOP-12589
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Environment: jenkins
> Reporter: Tsuyoshi Ozawa
> Assignee: Masatake Iwasaki
> Attachments: HADOOP-12589.001.patch, HADOOP-12589.002.patch
>
>
> Found this issue on HADOOP-11149.
> {quote}
> Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.949 sec <<<
> FAILURE! - in org.apache.hadoop.fs.shell.TestCopyPreserveFlag
> testDirectoryCpWithP(org.apache.hadoop.fs.shell.TestCopyPreserveFlag) Time
> elapsed: 0.616 sec <<< ERROR!
> java.io.IOException: Mkdirs failed to create d0 (exists=false,
> cwd=/testptch/hadoop/hadoop-common-project/hadoop-common/target/test/data/2/testStat)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:449)
> at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:435)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:913)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:894)
> at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:856)
> at org.apache.hadoop.fs.FileSystem.createNewFile(FileSystem.java:1150)
> at
> org.apache.hadoop.fs.shell.TestCopyPreserveFlag.initialize(TestCopyPreserveFlag.java:72)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)