Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 66c5c983b -> cde0cb1d9


AMBARI-18266. Ambari Capacity Scheduler View fails to launch with 'Read 
Timeout' error.(Akhil PB via gauravn7)


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

Branch: refs/heads/branch-2.5
Commit: cde0cb1d9cb6dd6ddae8b35aacbcef7a6a347536
Parents: 66c5c98
Author: Gaurav Nagar <gna...@hortonworks.com>
Authored: Wed Sep 21 18:16:22 2016 +0530
Committer: Gaurav Nagar <gna...@hortonworks.com>
Committed: Wed Sep 21 18:19:14 2016 +0530

----------------------------------------------------------------------
 .../apache/ambari/view/capacityscheduler/ConfigurationService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cde0cb1d/contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
----------------------------------------------------------------------
diff --git 
a/contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
 
b/contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
index a20893a..6784317 100644
--- 
a/contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
+++ 
b/contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java
@@ -153,7 +153,7 @@ public class ConfigurationService {
     LOG.debug("Reading cluster info.");
     Response response = null;
     try {
-      JSONObject configurations = readFromCluster("");
+      JSONObject configurations = readFromCluster("?fields=Clusters/version");
       response = Response.ok(configurations).build();
     } catch (AmbariHttpException ex) {
       LOG.error("Error occurred : ", ex);

Reply via email to