ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 30744: AMS : Metric collector fails to start on centos5.9
Date Mon, 09 Feb 2015 13:33:33 GMT

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

(Updated Фев. 9, 2015, 1:33 п.п.)


Review request for Ambari, Dmitro Lisnichenko, Myroslav Papirkovskyy, and Sid Wagle.


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


Repository: ambari


Description
-------

stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMS/0.1.0/package/scripts/service_check.py",
line 158, in <module>
    AMSServiceCheck().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 184, 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/AMS/0.1.0/package/scripts/service_check.py",
line 96, in service_check
    response = conn.getresponse()
  File "/usr/lib64/python2.6/httplib.py", line 988, in getresponse
    method=self._method)
  File "/usr/lib64/python2.6/httplib.py", line 330, in __init__
    self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'
 stdout:
2015-02-05 01:38:49,364 - AMS service check was started.
2015-02-05 01:38:49,377 - Generated metrics:
{
  "metrics": [
    {
      "metricname": "AMS.SmokeTest.FakeMetric",
      "appid": "amssmoketestfake",
      "hostname": "ambsmoke5-9-1423095408-2.cs1cloud.internal",
      "timestamp": 1419860001000,
      "starttime": 1419860001000,
      "metrics": {
        "1419860001000": 0.295172734884,
        "1419860002000": 1423100329.37
      }
    }
  ]
}

2015-02-05 01:38:49,378 - Connecting (POST) to ambsmoke5-9-1423095408-1.cs1cloud.internal:6188/ws/v1/timeline/metrics/
2015-02-05 01:38:59,419 - Connection failed. Next retry in 10 seconds.
2015-02-05 01:38:59,424 - Connecting (POST) to ambsmoke5-9-1423095408-1.cs1cloud.internal:6188/ws/v1/timeline/metrics/
2015-02-05 01:39:09,426 - Connection failed. Next retry in 10 seconds.
2015-02-05 01:39:09,426 - Connecting (POST) to ambsmoke5-9-1423095408-1.cs1cloud.internal:6188/ws/v1/timeline/metrics/
2015-02-05 01:39:19,429 - Connection failed. Next retry in 10 seconds.
/var/log/ambari-metrics-collector/ambari-metrics-collector.log
14:38:00,015 FATAL [main] ApplicationHistoryServer:140 - Error starting ApplicationHistoryServer
org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.MetricsSystemInitializationException:
Error creating Metrics Schema in HBase using Phoenix.
	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.PhoenixHBaseAccessor.initMetricSchema(PhoenixHBaseAccessor.java:318)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.initializeSubsystem(HBaseTimelineMetricStore.java:62)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.serviceInit(HBaseTimelineMetricStore.java:56)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
	at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceInit(ApplicationHistoryServer.java:84)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:137)
	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:147)
Caused by: org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException:
java.lang.Unsatisf


Diffs (updated)
-----

  ambari-metrics/ambari-metrics-assembly/pom.xml 1a30527 
  ambari-metrics/ambari-metrics-assembly/src/main/assembly/collector.xml 67ec6c5 
  ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml 4bb82e7

  ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-hbase-env.xml
4b23d2f 

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


Testing
-------

[INFO] ambari-metrics .................................... SUCCESS [0.594s]
[INFO] ambari-metrics-common ............................. SUCCESS [1.703s]
[INFO] ambari-metrics-hadoop-sink ........................ SUCCESS [1.867s]
[INFO] ambari-metrics-flume-sink ......................... SUCCESS [1.108s]
[INFO] ambari-metrics-kafka-sink ......................... SUCCESS [1.126s]
[INFO] ambari-metrics-storm-sink ......................... SUCCESS [1.402s]
[INFO] ambari-metrics-timelineservice .................... SUCCESS [38.417s]
[INFO] ambari-metrics-host-monitoring .................... SUCCESS [1.414s]
[INFO] ambari-metrics-assembly ........................... SUCCESS [1:51.768s]


Thanks,

Dmytro Sen


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