[
https://issues.apache.org/jira/browse/HADOOP-16707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973557#comment-16973557
]
Steve Loughran commented on HADOOP-16707:
-----------------------------------------
{code}
{code}
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]