You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2018/07/21 07:01:13 UTC

[ambari] branch trunk updated: AMBARI-24320. Using the proper command name when creating a pre-initialized ActionExecuteContent instead of the hard coded SET_KEYTAB value (#1817)

This is an automated email from the ASF dual-hosted git repository.

smolnar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 13f96c6  AMBARI-24320. Using the proper command name when creating a pre-initialized ActionExecuteContent instead of the hard coded SET_KEYTAB value (#1817)
13f96c6 is described below

commit 13f96c6287677b867f550af48d013250cdbe8a2d
Author: Sandor Molnar <sm...@apache.org>
AuthorDate: Sat Jul 21 09:01:09 2018 +0200

    AMBARI-24320. Using the proper command name when creating a pre-initialized ActionExecuteContent instead of the hard coded SET_KEYTAB value (#1817)
---
 .../java/org/apache/ambari/server/controller/KerberosHelperImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 5521a29..13cb8fa 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
@@ -3866,7 +3866,7 @@ public class KerberosHelperImpl implements KerberosHelper {
         String commandName, List<RequestResourceFilter> resourceFilters,
         Map<String, String> parameters, boolean retryAllowed) {
 
-      ActionExecutionContext actionExecContext = new ActionExecutionContext(clusterName, SET_KEYTAB,
+      ActionExecutionContext actionExecContext = new ActionExecutionContext(clusterName, commandName,
           resourceFilters, parameters);
 
       actionExecContext.setRetryAllowed(retryAllowed);