You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/09/18 19:07:50 UTC

Review Request 38500: Ambari Metrics collector failed to start on suse

-----------------------------------------------------------
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


Re: Review Request 38500: Ambari Metrics collector failed to start on suse

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38500/#review99567
-----------------------------------------------------------



ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector (line 212)
<https://reviews.apache.org/r/38500/#comment156495>

    Let increase sleep to 5 seconds and commit.


- Sid Wagle


On Sept. 18, 2015, 5:14 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38500/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2015, 5:14 p.m.)
> 
> 
> 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
> 
>


Re: Review Request 38500: Ambari Metrics collector failed to start on suse

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38500/#review99568
-----------------------------------------------------------

Ship it!


Ship It!

- Sid Wagle


On Sept. 18, 2015, 5:14 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38500/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2015, 5:14 p.m.)
> 
> 
> 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
> 
>


Re: Review Request 38500: Ambari Metrics collector failed to start on suse

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38500/
-----------------------------------------------------------

(Updated Сен. 18, 2015, 5:14 п.п.)


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 (updated)
-----

  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