ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: AMBARI-6333 Cluster aggregate metric charts do not show up on Dashboard if non-default rrds path. Additional patch (dsen)
Date Wed, 09 Jul 2014 18:17:42 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 399a5eacf -> eac111944


AMBARI-6333 Cluster aggregate metric charts do not show up on Dashboard if non-default rrds
path. Additional patch (dsen)


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

Branch: refs/heads/branch-1.6.1
Commit: eac111944f90250e61cf0121eddab95fd5b24a6c
Parents: 399a5ea
Author: Dmytro Sen <dsen@hortonworks.com>
Authored: Wed Jul 9 21:17:29 2014 +0300
Committer: Dmytro Sen <dsen@hortonworks.com>
Committed: Wed Jul 9 21:17:29 2014 +0300

----------------------------------------------------------------------
 .../HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh      | 1 +
 .../HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh      | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/eac11194/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh
b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh
index 53ac8f8..d6f3dfa 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/startRrdcached.sh
@@ -68,6 +68,7 @@ then
     then
       sed -i "s@\$conf\['rrdcached_socket'] =.*@\$conf\['rrdcached_socket'] = \"unix:${RRDCACHED_LIMITED_ACCESS_UNIX_SOCKET}\";@"
$GANGLIA_WEB_CONFIG_FILE
       sed -i "s@\$conf\['rrds'] =.*@\$conf\['rrds'] = \"${RRDCACHED_BASE_DIR}\";@" $GANGLIA_WEB_CONFIG_FILE
+      sed -i "s@\$conf\['gmetad_root'] =.*@\$conf\['gmetad_root'] = \"${RRDCACHED_BASE_DIR}\";@"
$GANGLIA_WEB_CONFIG_FILE
     else
       echo "${GANGLIA_WEB_CONFIG_FILE} can't be found";
       exit 1;

http://git-wip-us.apache.org/repos/asf/ambari/blob/eac11194/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh
index 18ef65a..4f86837 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/startRrdcached.sh
@@ -68,6 +68,7 @@ then
     then
       sed -i "s@\$conf\['rrdcached_socket'] =.*@\$conf\['rrdcached_socket'] = \"unix:${RRDCACHED_LIMITED_ACCESS_UNIX_SOCKET}\";@"
$GANGLIA_WEB_CONFIG_FILE
       sed -i "s@\$conf\['rrds'] =.*@\$conf\['rrds'] = \"${RRDCACHED_BASE_DIR}\";@" $GANGLIA_WEB_CONFIG_FILE
+      sed -i "s@\$conf\['gmetad_root'] =.*@\$conf\['gmetad_root'] = \"${RRDCACHED_BASE_DIR}\";@"
$GANGLIA_WEB_CONFIG_FILE
     else
       echo "${GANGLIA_WEB_CONFIG_FILE} can't be found";
       exit 1;


Mime
View raw message