You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2019/11/14 10:08:00 UTC

[jira] [Updated] (HADOOP-16707) NPE in UGI.getCurrentUser in ITestAbfsIdentityTransformer setup

     [ https://issues.apache.org/jira/browse/HADOOP-16707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran updated HADOOP-16707:
------------------------------------
    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.

  was:

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.


> 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 ABFS 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org