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/6038e012
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6038e012
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6038e012

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 6038e0120989111fff2f8703216abffb96c93136
Parents: 0f77413
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:16:22 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/6038e012/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