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

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

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • None
    • native
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ivanmi Ivan Mitic
            chuanliu Chuan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment