ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject git commit: AMBARI-7880. Recommendations API works too slow for 400 node cluster - extra Hosts information
Date Wed, 22 Oct 2014 21:28:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 5db075bf5 -> 093cfd639


AMBARI-7880. Recommendations API works too slow for 400 node cluster - extra Hosts information


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

Branch: refs/heads/trunk
Commit: 093cfd639a0c4397f70cb538256ad1f923b5f986
Parents: 5db075b
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Wed Oct 22 14:27:21 2014 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Wed Oct 22 14:28:19 2014 -0700

----------------------------------------------------------------------
 .../api/services/stackadvisor/commands/StackAdvisorCommand.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/093cfd63/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
b/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
index eceefef..63ec0ed 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/commands/StackAdvisorCommand.java
@@ -70,7 +70,7 @@ public abstract class StackAdvisorCommand<T extends StackAdvisorResponse>
extend
   protected static Log LOG = LogFactory.getLog(StackAdvisorCommand.class);
 
   private static final String GET_HOSTS_INFO_URI = "/api/v1/hosts"
-      + "?fields=Hosts/host_name,Hosts/total_mem,Hosts/cpu_count,Hosts/disk_info&Hosts/host_name.in(%s)";
+      + "?fields=Hosts&Hosts/host_name.in(%s)";
   private static final String GET_SERVICES_INFO_URI = "/api/v1/stacks/%s/versions/%s"
       + "?fields=Versions/stack_name,Versions/stack_version,Versions/parent_stack_version"
       + ",services/StackServices/service_name,services/StackServices/service_version"


Mime
View raw message