Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6327

Fix build error for one of the FileContext Tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • test
    • None
    • 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)

      Attachments

        1. buildError.patch
          5 kB
          Sanjay Radia

        Issue Links

          Activity

            People

              sanjay.radia Sanjay Radia
              sanjay.radia Sanjay Radia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: