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

Set group owner on Windows failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1-win
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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-4.patch
          5 kB
          Chuan Liu
        2. HADOOP-8763-branch-1-win-3.patch
          5 kB
          Chuan Liu
        3. HADOOP-8763-branch-1-win-2.patch
          6 kB
          Chuan Liu
        4. HADOOP-8763-branch-1-win.patch
          5 kB
          Chuan Liu

          Issue Links

            Activity

              People

              • Assignee:
                chuanliu Chuan Liu
                Reporter:
                chuanliu Chuan Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: