[
https://issues.apache.org/jira/browse/AMBARI-22824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343302#comment-16343302
]
Hudson commented on AMBARI-22824:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8648 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8648/])
AMBARI-22824. Let YARN/MR2 use ZK principal name set by users when
(echekanskiy:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=4a9e13c7040761785c7d09e312f37cae590f2221])
* (edit)
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
* (edit)
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/yarn-env.xml
* (edit)
ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py
> Yarn/MR2 should handle a customized Zookeeper service principal name
> --------------------------------------------------------------------
>
> Key: AMBARI-22824
> URL: https://issues.apache.org/jira/browse/AMBARI-22824
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
> Labels: kerberos, pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Yarn and MapReduce2 should handle a customized Zookeeper service principal
> name.
> Currently this is not supported due to hardcoded and implicit values
> expecting the Zookeeper service principal name to be {{zookeeper/_HOST}} as
> opposed to something like {{zookeeper-mycluster/_HOST}}.
> The following changes need to be made:
> * common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py must be
> changed to not hardcode the Zookeeper principal name in
> {code:java}
> m_security_opts = format('-Dzookeeper.sasl.client=true
> -Dzookeeper.sasl.client.username=zookeeper
> -Djava.security.auth.login.config={yarn_jaas_file}
> -Dzookeeper.sasl.clientconfig=Client')
> {code}
> * {{-Dzookeeper.sasl.client.username=<ZOOKEEPER_PRINCPAL_NAME>}} should be
> added to {{YARN_OPTS}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)