Repository: ambari Updated Branches: refs/heads/branch-2.2 beb265209 -> d5e033892
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/d5e03389 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d5e03389 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d5e03389 Branch: refs/heads/branch-2.2 Commit: d5e033892f34b1805deb985aa88e596de8f7b53d Parents: beb2652 Author: Aravindan Vijayan <[email protected]> Authored: Mon Mar 7 17:16:58 2016 -0800 Committer: Aravindan Vijayan <[email protected]> Committed: Mon Mar 7 17:17:04 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/d5e03389/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 9741d34..5415d71 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
