ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject ambari git commit: AMBARI-20217. Services fail to start due to incorrect permissions on spnego.service.keytab (rlevas)
Date Tue, 28 Feb 2017 14:47:04 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 26146d357 -> d9b303019


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/d9b30301
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d9b30301
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d9b30301

Branch: refs/heads/branch-2.5
Commit: d9b3030196f5086bd2e1827d8b2594ed7581c33b
Parents: 26146d3
Author: Robert Levas <rlevas@hortonworks.com>
Authored: Tue Feb 28 09:46:57 2017 -0500
Committer: Robert Levas <rlevas@hortonworks.com>
Committed: Tue Feb 28 09:46:57 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/d9b30301/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 8ccfc4c..c2fde46 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