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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • auth, fs/azure, security
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: