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

failure to set sticky bit regression on branch-trunk-win

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk-win
    • Fix Version/s: trunk-win
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The problem is visible by running TestDFSShell#testFilePermissions. The test fails on trying to set sticky bit. The problem is that branch-trunk-win accidentally merged in a branch-1 change in RawLocalFileSystem#setPermission to call FileUtil#setPermission, which sets permissions using Java File API. There is no way to set sticky bit through this API. We need to switch back to the trunk implementation of RawLocalFileSystem#setPermission, which uses either native code or a shell call to external chmod.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment