ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [16/50] ambari git commit: AMBARI-20217. Services fail to start due to incorrect permissions on spnego.service.keytab (rlevas)
Date Wed, 01 Mar 2017 20:38:33 GMT
AMBARI-20217. Services fail to start due to incorrect permissions on spnego.service.keytab
(rlevas)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: be644c57a13a2a8e701d1b1009be2d0decfa08cd
Parents: c5df14f
Author: Robert Levas <rlevas@hortonworks.com>
Authored: Tue Feb 28 09:46:08 2017 -0500
Committer: Robert Levas <rlevas@hortonworks.com>
Committed: Tue Feb 28 09:46:12 2017 -0500

----------------------------------------------------------------------
 .../org/apache/ambari/server/controller/KerberosHelperImpl.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/be644c57/ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
index 51c0b2c..baa90e7 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
@@ -3163,6 +3163,7 @@ public class KerberosHelperImpl implements KerberosHelper {
       // Add the finalize stage...
       Map<String, String> commandParameters = new HashMap<String, String>();
       commandParameters.put(KerberosServerAction.DEFAULT_REALM, kerberosDetails.getDefaultRealm());
+      commandParameters.put(KerberosServerAction.KDC_TYPE, kerberosDetails.getKdcType().name());
       commandParameters.put(KerberosServerAction.AUTHENTICATED_USER_NAME, ambariManagementController.getAuthName());
       if (dataDirectory != null) {
         commandParameters.put(KerberosServerAction.DATA_DIRECTORY, dataDirectory.getAbsolutePath());


Mime
View raw message