Steve Loughran created HADOOP-16707:
---------------------------------------

             Summary: NPE in UGI.getCurrentUser in ITestAbfsIdentityTransformer 
setup
                 Key: HADOOP-16707
                 URL: https://issues.apache.org/jira/browse/HADOOP-16707
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: auth, fs/azure, security
    Affects Versions: 3.3.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran



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 ABF S test case simply 
by calling A UGI method we know calls {{ensureInitialized()}}. But fixing UGI 
is the right thing to do.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to