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

Address file ownership issue for users in Administrators group on Windows.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: native
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      On Linux, the initial file owners are the creators. (I think this is true in general. If there are exceptions, please let me know.) On Windows, the file created by a user in the Administrators group has the initial owner ‘Administrators’, i.e. the the Administrators group is the initial owner of the file. As a result, this leads to an exception when we check file ownership in SecureIOUtils .checkStat() method. As a result, this method is disabled right now. We need to address this problem and enable the method on Windows.

        Attachments

        1. HADOOP-8457-branch-1-win_Admins.patch
          17 kB
          Ivan Mitic
        2. HADOOP-8457-branch-1-win_Admins(2).patch
          19 kB
          Ivan Mitic
        3. HADOOP-8457-branch-1-win_Admins(3).patch
          19 kB
          Ivan Mitic

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                chuanliu Chuan Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: