You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/02/10 00:14:35 UTC

[jira] [Commented] (AMBARI-9526) AMS : Metric collector fails to start on centos5.9

    [ https://issues.apache.org/jira/browse/AMBARI-9526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313119#comment-14313119 ] 

Hudson commented on AMBARI-9526:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1717 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1717/])
AMBARI-9526 AMS : Metric collector fails to start on centos5.9 (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5806ec1ec49b8fc9abcad99df35c2e301638e718)
* ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-hbase-env.xml
* ambari-metrics/ambari-metrics-assembly/src/main/assembly/collector.xml
* ambari-metrics/ambari-metrics-timelineservice/conf/unix/ambari-metrics-collector
* ambari-server/src/main/resources/common-services/AMS/0.1.0/configuration/ams-env.xml
* ambari-metrics/ambari-metrics-assembly/pom.xml


> AMS : Metric collector fails to start on centos5.9
> --------------------------------------------------
>
>                 Key: AMBARI-9526
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9526
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> {noformat}
> 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.
> {noformat}
> /var/log/ambari-metrics-collector/ambari-metrics-collector.log
> {noformat}
> 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.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy()Z
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)