Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 d23f45d53 -> 801e00c2c


AMBARI-14845. Kerberized cluster with RM HA contain incrorrect proxyuser yarn 
properties.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/801e00c2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/801e00c2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/801e00c2

Branch: refs/heads/branch-2.2
Commit: 801e00c2c17a929730495ff5efad514503b8ae84
Parents: d23f45d
Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Authored: Fri Jan 29 16:27:46 2016 +0200
Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Committed: Fri Jan 29 16:27:46 2016 +0200

----------------------------------------------------------------------
 .../main/resources/common-services/YARN/2.1.0.2.0/kerberos.json  | 4 ++--
 .../main/resources/stacks/HDP/2.2/services/YARN/kerberos.json    | 4 ++--
 .../main/resources/stacks/HDP/2.3/services/YARN/kerberos.json    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/801e00c2/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 
b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json
index ff2f484..9afe668 100644
--- 
a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json
+++ 
b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json
@@ -36,8 +36,8 @@
         },
         {
           "core-site": {
-            "hadoop.proxyuser.yarn.groups": "*",
-            "hadoop.proxyuser.yarn.hosts": 
"${yarn-site/yarn.resourcemanager.hostname}"
+            "hadoop.proxyuser.${yarn-env/yarn_user}.groups": "*",
+            "hadoop.proxyuser.${yarn-env/yarn_user}.hosts": 
"${clusterHostInfo/rm_host}"
           }
         }
       ],

http://git-wip-us.apache.org/repos/asf/ambari/blob/801e00c2/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json
index 2f74aba..240f61e 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json
@@ -37,8 +37,8 @@
         },
         {
           "core-site": {
-            "hadoop.proxyuser.yarn.groups": "*",
-            "hadoop.proxyuser.yarn.hosts": 
"${yarn-site/yarn.resourcemanager.hostname}"
+            "hadoop.proxyuser.${yarn-env/yarn_user}.groups": "*",
+            "hadoop.proxyuser.${yarn-env/yarn_user}.hosts": 
"${clusterHostInfo/rm_host}"
           }
         }
       ],

http://git-wip-us.apache.org/repos/asf/ambari/blob/801e00c2/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json
index 70d12b4..22fed42 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json
@@ -37,8 +37,8 @@
         },
         {
           "core-site": {
-            "hadoop.proxyuser.yarn.groups": "*",
-            "hadoop.proxyuser.yarn.hosts": 
"${yarn-site/yarn.resourcemanager.hostname}"
+            "hadoop.proxyuser.${yarn-env/yarn_user}.groups": "*",
+            "hadoop.proxyuser.${yarn-env/yarn_user}.hosts": 
"${clusterHostInfo/rm_host}"
           }
         },
         {

Reply via email to