Fix build error for one of the FileContext errors
-------------------------------------------------

                 Key: HADOOP-6327
                 URL: https://issues.apache.org/jira/browse/HADOOP-6327
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Sanjay Radia


The build fails in Hudson
org.apache.hadoop.fs.TestLocalFSFileContextMainOperations.testWorkingDirectory  
(from TestLocalFSFileContextMainOperations)
Failing for the past 5 builds (Since Failed#272 )
Took 88 ms.
add description
Error Message

chmod: changing permissions of `/tmp/existingDir': Operation not permitted 

Stacktrace

org.apache.hadoop.util.Shell$ExitCodeException: chmod: changing permissions of 
`/tmp/existingDir': Operation not permitted

        at org.apache.hadoop.util.Shell.runCommand(Shell.java:243)
        at org.apache.hadoop.util.Shell.run(Shell.java:170)
        at 
org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:363)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:449)
        at org.apache.hadoop.util.Shell.execCommand(Shell.java:432)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:545)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:537)
        at 
org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:347)
        at 
org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:184)
        at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:769)
        at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:539)
        at 
org.apache.hadoop.fs.FileContextMainOperationsBaseTest.testWorkingDirectory(FileContextMainOperationsBaseTest.java:170)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to