[ 
https://issues.apache.org/jira/browse/HADOOP-15150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307684#comment-16307684
 ] 

Brahma Reddy Battula commented on HADOOP-15150:
-----------------------------------------------

[~shahrs87] and [[email protected]] thanks for taking look.

bq.Instead of hardcoding value hadoop.security.authentication, use 
CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHENTICATION
Sure, will update patch once after daryn reviews.
bq.needs version, component etc in the JIRA attributes
Ok
bq.someone who understands UGI needs to be found to review this
Sure,Will wait
[~daryn] can you please take a look? thanks.

> in FsShell, UGI params should be overidden through env vars(-D arg)
> -------------------------------------------------------------------
>
>                 Key: HADOOP-15150
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15150
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HADOOP-15150.patch
>
>
> org.apache.hadoop.security.UserGroupInformation#ensureInitialized,will always 
> get the configure from the configuration files.*So that, -D args will not 
> take effect*.
> {code}
>   private static void ensureInitialized() {
>     if (conf == null) {
>       synchronized(UserGroupInformation.class) {
>         if (conf == null) { // someone might have beat us
>           initialize(new Configuration(), false);
>         }
>       }
>     }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to