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 2017/12/30 14:51:00 UTC
[jira] [Updated] (HADOOP-15150) in FsShell, UGI params should be
overidden through env vars(-D arg)
[ https://issues.apache.org/jira/browse/HADOOP-15150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran updated HADOOP-15150:
------------------------------------
Summary: in FsShell, UGI params should be overidden through env vars(-D arg) (was: UGI params should be overidden through env vars(-D arg))
> 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
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org