You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2017/10/11 06:42:29 UTC

ambari git commit: Fix build break due to merge (jluniya)

Repository: ambari
Updated Branches:
  refs/heads/branch-feature-AMBARI-14714 045d9bfe3 -> 5ddb07cdb


Fix build break due to merge (jluniya)


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

Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 5ddb07cdb376413855a17363f710256290048fa7
Parents: 045d9bf
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Tue Oct 10 23:42:23 2017 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Tue Oct 10 23:42:23 2017 -0700

----------------------------------------------------------------------
 .../ambari/server/state/svccomphost/ServiceComponentHostImpl.java   | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5ddb07cd/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
index 9e8460e..6190a03 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
@@ -1225,7 +1225,6 @@ public class ServiceComponentHostImpl implements ServiceComponentHost {
     }
 
     try {
-      Cluster cluster = clusters.getCluster(clusterName);
       ServiceComponent serviceComponent = cluster.getService(serviceName).getServiceComponent(serviceComponentName);
       ServiceComponentHost sch = serviceComponent.getServiceComponentHost(hostName);
       String refreshConfigsCommand = helper.getRefreshConfigsCommand(cluster,sch);