AMBARI-15328 : Exception on manual start of AMS is misleading (avijayan)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/549e70e2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/549e70e2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/549e70e2 Branch: refs/heads/AMBARI-13364 Commit: 549e70e27097dc55ee081fbdfedac2d8bca11d83 Parents: bdba8cb Author: Aravindan Vijayan <[email protected]> Authored: Mon Mar 7 17:18:32 2016 -0800 Committer: Aravindan Vijayan <[email protected]> Committed: Mon Mar 7 17:18:32 2016 -0800 ---------------------------------------------------------------------- .../conf/unix/ambari-metrics-collector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/549e70e2/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 4fab821..64a7848 100644 --- a/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector +++ b/ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector @@ -291,7 +291,7 @@ function start() # Wait until METRIC_* tables created for retry in {1..5} do - echo 'list' | ${HBASE_CMD} --config ${HBASE_CONF_DIR} shell | grep ^${METRIC_TABLES[0]} > /dev/null 2>&1 + echo 'list' | ${HBASE_CMD} --config ${HBASE_CONF_DIR} shell 2> /dev/null | grep ^${METRIC_TABLES[0]} > /dev/null 2>&1 if [ $? -eq 0 ]; then echo "$(date) Ambari Metrics data model initialization completed." | tee -a $STARTUPFILE break
