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

Yongjun Zhang commented on HADOOP-10872:
----------------------------------------

HI [~arpitagarwal], 

I noticed that you are watching this one. I wonder if you could help reviewing 
the latest patch of this JIRA and HDFS-6719? These are intermittent test 
failures that I'm seeing among various test runs, and the patches are small. 
Hopefully with them resolved, we can see clean runs more often.

For HADOOP-10872, since it's not easily reproduced, I didn't really figure out 
why it failed to created "d1", because mkdirs is supposed to create the whole 
path. However, I noticed that the test root dir is not created and cleaned for 
each test in TestPathData, I fixed this and added a better debug message with 
the patch, so we can see better why when it failed.
 
As noted in HDFS-6719, I'm seeing some interference between different tests for 
us to watch out. But I think the fix I did for HDFS-6719 solve HDFS-6719 itself.

I may look at the TestIPC failure later when I have time, it's a long 
outstanding failure across the board.

Thanks a lot.


> org.apache.hadoop.fs.shell.TestPathData failed intermittently with "Mkdirs 
> failed to create d1"
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10872
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10872
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.5.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-10872.001.dbg.patch, HADOOP-10872.001.dbg.patch, 
> HADOOP-10872.002.patch
>
>
> A bunch of TestPathData tests failed intermittently, e.g.
> https://builds.apache.org/job/PreCommit-HDFS-Build/7416//testReport/
> Example failure log:
> {code}
> Failed
> org.apache.hadoop.fs.shell.TestPathData.testUnqualifiedUriContents
> Failing for the past 1 build (Since Failed#7416 )
> Took 0.46 sec.
> Error Message
> Mkdirs failed to create d1
> Stacktrace
> java.io.IOException: Mkdirs failed to create d1
>       at 
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:440)
>       at 
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:426)
>       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:906)
>       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:887)
>       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:849)
>       at org.apache.hadoop.fs.FileSystem.createNewFile(FileSystem.java:1149)
>       at 
> org.apache.hadoop.fs.shell.TestPathData.initialize(TestPathData.java:54)
> {code}



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

Reply via email to