ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 31229: Ambari Metrics service check fails after deploy ambari
Date Fri, 20 Feb 2015 16:38:50 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31229/
-----------------------------------------------------------

Review request for Ambari, Myroslav Papirkovskyy and Vitalyi Brodetskyi.


Bugs: AMBARI-9730
    https://issues.apache.org/jira/browse/AMBARI-9730


Repository: ambari


Description
-------

STR
Deploy ambari
AR. Ambari Metrics service check fails with error
2015-02-20 03:20:09,980 - Error while executing command 'service_check':
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 208, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py",
line 139, in service_check
    (response.status, response.reason, data))
Fail: Metrics were not retrieved. Service check has failed. GET request status: 500 Internal
Server Error 
{"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException"}


Diffs
-----

  ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java
b9a2922 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
b5a5745 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/smoketest_metrics.json.j2
c90c29e 

Diff: https://reviews.apache.org/r/31229/diff/


Testing
-------

all tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message