XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.2
    • 2.8.0, 3.0.0-alpha2
    • fs/s3
    • None
    • Reviewed

    Description

      S3a users System.getProperty("user.name") to get the username for the homedir. This is wrong, as it doesn't work on a YARN app where the identity is set by HADOOP_USER_NAME, or in a doAs clause.

      Obviously, UGI.getCurrentUser.getShortname() provides that name, everywhere.

      This is a simple change in the source, though testing is harder ... probably best to try in a doAs

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: