Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-938

Replace calls to UGI.getUserName() with UGI.getShortUserName()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • hdfs-client, namenode
    • None
    • Reviewed

    Description

      HADOOP-6526 details why UGI.getUserName() will not work to identify users. Until the proposed UGI.getLocalName() is implemented, calls to getUserName() should be replaced with the short name.

      Attachments

        1. HDFS-938.patch
          24 kB
          Jakob Homan
        2. HDFS-938-BP20-1.patch
          19 kB
          Boris Shkolnik
        3. contrib.ivy.jackson.patch
          3 kB
          Boris Shkolnik
        4. contrib.ivy.jackson.patch-1
          4 kB
          Boris Shkolnik
        5. contrib.ivy.jackson.patch-1
          4 kB
          Boris Shkolnik
        6. contrib.ivy.jackson.patch-3
          5 kB
          Boris Shkolnik
        7. HDFS-938-BP20-2.patch
          18 kB
          Boris Shkolnik

        Issue Links

          Activity

            People

              jghoman Jakob Homan
              jghoman Jakob Homan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: