You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by gn...@apache.org on 2016/09/21 12:46:54 UTC
ambari git commit: AMBARI-18266. Ambari Capacity Scheduler View fails
to launch with 'Read Timeout' error.(Akhil PB via gauravn7)
Repository: ambari
Updated Branches:
refs/heads/trunk 0f774139e -> 6038e0120
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/trunk
Commit: 6038e0120989111fff2f8703216abffb96c93136
Parents: 0f77413
Author: Gaurav Nagar <gn...@hortonworks.com>
Authored: Wed Sep 21 18:16:22 2016 +0530
Committer: Gaurav Nagar <gn...@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);