Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15763 Über-JIRA: abfs phase II: Hadoop 3.3 features & fixes
  3. HADOOP-16707

NPE in UGI.getCurrentUser in ITestAbfsIdentityTransformer setup

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: auth, fs/azure, security
    • Labels:
      None
    • Target Version/s:

      Description

      Change logs of the files point some of the blame at me here; UGI.getCurrentUser is failing in ITestAbfsIdentityTransformer init just after a UGI.reset()

      The public entry points in UGI should all call ensureInitialized().

      I have no idea how this worked at all. I've been fiddling with ABFS accounts and tests which did work now cause NPEs in UGI.

      This is all test setup; I could probably fix it in the ABFS test case simply by calling a UGI method we know calls ensureInitialized(). But fixing UGI is the right thing to do.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: