You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2015/01/08 03:34:04 UTC

ambari git commit: AMBARI-9034. Add ability to change log and pid dirs for AMS daemons. Log dir fix. (swagle)

Repository: ambari
Updated Branches:
  refs/heads/trunk 6b1eef55e -> 78efd0483


AMBARI-9034. Add ability to change log and pid dirs for AMS daemons. Log dir fix. (swagle)


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

Branch: refs/heads/trunk
Commit: 78efd0483f56026059f858b0eedaa8ba5db24e50
Parents: 6b1eef5
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Wed Jan 7 18:33:42 2015 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Wed Jan 7 18:33:42 2015 -0800

----------------------------------------------------------------------
 .../conf/unix/ambari-metrics-collector                       | 2 +-
 .../common-services/AMS/0.1.0/configuration/ams-env.xml      | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/78efd048/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector b/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
index aabbde8..714fa94 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
+++ b/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
@@ -31,7 +31,7 @@ HBASE_CONF_DIR=/etc/ams-hbase/conf
 
 METRIC_COLLECTOR=ambari-metrics-collector
 
-AMS_LOG_DIR=/var/log/ambari-metric-collector
+AMS_LOG_DIR=/var/log/ambari-metrics-collector
 
 STOP_TIMEOUT=5
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/78efd048/ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml b/ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml
index c2f3d49..18c4b61 100644
--- a/ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml
+++ b/ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml
@@ -27,22 +27,22 @@
   </property>
   <property>
     <name>ams_collector_log_dir</name>
-    <value>/var/log/ambari-metric-collector</value>
+    <value>/var/log/ambari-metrics-collector</value>
     <description>Collector log directory.</description>
   </property>
   <property>
     <name>ams_collector_pid_dir</name>
-    <value>/var/run/ambari-metric-collector</value>
+    <value>/var/run/ambari-metrics-collector</value>
     <description>Collector pid directory.</description>
   </property>
   <property>
     <name>ams_monitor_pid_dir</name>
-    <value>/var/run/ambari-metric-monitor</value>
+    <value>/var/run/ambari-metrics-monitor</value>
     <description>Monitor pid directory.</description>
   </property>
   <property>
     <name>ams_monitor_log_dir</name>
-    <value>/var/log/ambari-metric-monitor</value>
+    <value>/var/log/ambari-metrics-monitor</value>
     <description>Monitor log directory.</description>
   </property>