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

Set group owner on Windows failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1-win
    • None
    • None
    • Reviewed

    Description

      RawLocalFileSystem.setOwner() method may incorrectly set the group owner of a file on Windows.

      Specifically the following function in RawLocalFileSystem class will fail on Windows when username is null, i.e. only set group ownership.

      public void setOwner(Path p, String username, String groupname)
      

      Attachments

        1. HADOOP-8763-branch-1-win.patch
          5 kB
          Chuan Liu
        2. HADOOP-8763-branch-1-win-2.patch
          6 kB
          Chuan Liu
        3. HADOOP-8763-branch-1-win-3.patch
          5 kB
          Chuan Liu
        4. HADOOP-8763-branch-1-win-4.patch
          5 kB
          Chuan Liu

        Issue Links

          Activity

            People

              chuanliu Chuan Liu
              chuanliu Chuan Liu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: