-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38500/
-----------------------------------------------------------
Review request for Ambari, Myroslav Papirkovskyy and Sid Wagle.
Bugs: AMBARI-13149
https://issues.apache.org/jira/browse/AMBARI-13149
Repository: ambari
Description
-------
After start service check fails with
2015-09-18 09:16:18,867 - Ambari Metrics service check was started.
2015-09-18 09:16:18,876 - Generated metrics:
{
"metrics": [
{
"metricname": "AMBARI_METRICS.SmokeTest.FakeMetric",
"appid": "amssmoketestfake",
"hostname": "host1",
"timestamp": 1442567778000,
"starttime": 1442567778000,
"metrics": {
"1442567778000": 0.113068371681,
"1442567779000": 1442567778000
}
}
]
}
2015-09-18 09:16:18,876 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:16:28,886 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:16:28,887 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:16:38,897 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:16:38,898 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:16:48,906 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:16:48,907 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:16:58,908 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:16:58,908 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:17:08,919 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:17:08,919 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:17:18,929 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:17:18,930 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:17:28,931 - Connection failed. Next retry in 10 seconds.
2015-09-18 09:17:28,931 - Connecting (POST) to
host1:6188/ws/v1/timeline/metrics/
2015-09-18 09:17:29,313 - Http response: 200 OK
2015-09-18 09:17:29,314 - Http data: {"errors":[]}
2015-09-18 09:17:29,314 - Metrics were saved.
2015-09-18 09:17:29,315 - Connecting (GET) to
host1:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.SmokeTest.FakeMetric&hostname=host1&precision=seconds&grouped=false&startTime=1442567718000&appId=amssmoketestfake&endTime=1442567839000
2015-09-18 09:17:29,510 - Http response: 200 OK
2015-09-18 09:17:29,510 - Http data: {"metrics":[]}
2015-09-18 09:17:29,510 - Metrics were retrieved.
2015-09-18 09:17:29,510 - Values 0.113068371681 and 1442567778000 were not
found in the response.
Diffs
-----
ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
fe73ff1
Diff: https://reviews.apache.org/r/38500/diff/
Testing
-------
All unit tests passed. Tested end-to-end.
Only collector start script changed
Thanks,
Dmytro Sen