ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject ambari git commit: AMBARI-11950. Cannot reinstall components that are in INSTALL_FAILED state via API (ncole)
Date Tue, 16 Jun 2015 18:32:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk e7a8b35d6 -> 8c92ed631


AMBARI-11950. Cannot reinstall components that are in INSTALL_FAILED state via API (ncole)


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

Branch: refs/heads/trunk
Commit: 8c92ed631f11f534d6b7de0a5b8f2f89699ebb00
Parents: e7a8b35
Author: Nate Cole <ncole@hortonworks.com>
Authored: Tue Jun 16 10:17:50 2015 -0400
Committer: Nate Cole <ncole@hortonworks.com>
Committed: Tue Jun 16 14:32:19 2015 -0400

----------------------------------------------------------------------
 .../server/controller/internal/HostComponentResourceProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8c92ed63/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
index aae3ca5..d7fc33b 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostComponentResourceProvider.java
@@ -205,7 +205,7 @@ public class HostComponentResourceProvider extends AbstractControllerResourcePro
     final Set<ServiceComponentHostRequest> requests = new HashSet<ServiceComponentHostRequest>();
 
     for (Map<String, Object> propertyMap : getPropertyMaps(predicate)) {
-      requests.add(changeRequest(propertyMap));
+      requests.add(getRequest(propertyMap));
     }
 
     return findResources(request, predicate, requests);


Mime
View raw message