You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/06/08 00:05:51 UTC

ambari git commit: AMBARI-17100. EU - HDP 2.4 to 2.5 fails restarting DRPC server on a kerberized cluster, need to use org.apache.storm.security.auth.KerberosPrincipalToLocal (alejandro)

Repository: ambari
Updated Branches:
  refs/heads/trunk b3241e3f0 -> 6fbb4c183


AMBARI-17100. EU - HDP 2.4 to 2.5 fails restarting DRPC server on a kerberized cluster, need to use org.apache.storm.security.auth.KerberosPrincipalToLocal (alejandro)


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

Branch: refs/heads/trunk
Commit: 6fbb4c1830ced4c3f600aa4d7fdb510d2249ddfa
Parents: b3241e3
Author: Alejandro Fernandez <af...@hortonworks.com>
Authored: Tue Jun 7 15:50:11 2016 -0700
Committer: Alejandro Fernandez <af...@hortonworks.com>
Committed: Tue Jun 7 17:07:11 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml  | 2 ++
 .../src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml  | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6fbb4c18/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
index 9df0663..7161a48 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml
@@ -428,6 +428,8 @@
                      replace-with="org.apache.storm.security.auth.authorizer.DRPCSimpleACLAuthorizer" />
             <replace key="ui.filter" find="backtype.storm.security.auth.KerberosPrincipalToLocal"
                      replace-with="org.apache.storm.security.auth.KerberosPrincipalToLocal" />
+            <replace key="storm.principal.tolocal" find="backtype.storm.security.auth.KerberosPrincipalToLocal"
+                     replace-with="org.apache.storm.security.auth.KerberosPrincipalToLocal" />
             <set key="client.jartransformer.class" value="org.apache.storm.hack.StormShadeTransformer" />
           </definition>          
         </changes>

http://git-wip-us.apache.org/repos/asf/ambari/blob/6fbb4c18/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml
index f559031..bd1bef2 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/config-upgrade.xml
@@ -244,6 +244,8 @@
                      replace-with="org.apache.storm.security.auth.authorizer.DRPCSimpleACLAuthorizer" />
             <replace key="ui.filter" find="backtype.storm.security.auth.KerberosPrincipalToLocal"
                      replace-with="org.apache.storm.security.auth.KerberosPrincipalToLocal" />
+            <replace key="storm.principal.tolocal" find="backtype.storm.security.auth.KerberosPrincipalToLocal"
+                     replace-with="org.apache.storm.security.auth.KerberosPrincipalToLocal" />
             <set key="client.jartransformer.class" value="org.apache.storm.hack.StormShadeTransformer" />
           </definition>          
         </changes>