Hadoop Common
  1. Hadoop Common
  2. HADOOP-6327

Fix build error for one of the FileContext Tests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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)

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Sanjay Radia
              Reporter:
              Sanjay Radia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development