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 "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2016/09/21 21:07:22 UTC

[jira] [Updated] (HADOOP-13638) KMS should set UGI's Configuration object properly

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

Wei-Chiu Chuang updated HADOOP-13638:
-------------------------------------
    Attachment: HADOOP-13638.001.patch

v01. a one-liner fixer to set UGI configuration correctly when KMS starts.

I don't think it's easy to unit test it, but I've manually verified this fix works on a CDH 5.7.0 cluster.

> KMS should set UGI's Configuration object properly
> --------------------------------------------------
>
>                 Key: HADOOP-13638
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13638
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>         Attachments: HADOOP-13638.001.patch
>
>
> We found that the Configuration object in UGI in KMS server is not initialized properly, therefore it does not load core-site.xml from {{KMSConfiguration.KMS_CONFIG_DIR}}.
> This becomes a problem when the Hadoop cluster uses LdapGroupsMapping for group resolution, because the UGI in KMS falls back to the default JniBasedUnixGroupsMappingWithFallback (defined in core-default.xml) and is thus not consistent with the Hadoop cluster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org