[
https://issues.apache.org/jira/browse/AMBARI-20403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan updated AMBARI-20403:
---------------------------------------
Attachment: AMBARI-20403.patch
> Yarn Container metrics are not being collected by AMS
> ------------------------------------------------------
>
> Key: AMBARI-20403
> URL: https://issues.apache.org/jira/browse/AMBARI-20403
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.5.0
> Reporter: Aravindan Vijayan
> Assignee: Aravindan Vijayan
> Priority: Blocker
> Fix For: 2.5.0
>
> Attachments: AMBARI-20403.patch
>
>
> Exception in NM logs :
> {code:java}
> 2017-03-07 19:14:06,143 INFO timeline.HadoopTimelineMetricsSink
> (AbstractTimelineMetricsSink.java:emitMetricsJson(197)) - Unable to connect
> to collector, null
> This exceptions will be ignored for next 100 times
>
> 2017-03-07 19:14:06,144 WARN timeline.HadoopTimelineMetricsSink
> (HadoopTimelineMetricsSink.java:putMetrics(344)) - Unable to send metrics to
> collector by address:null
> {code}
> 0jdbc:phoenix:localhost:2181:/ams-hbase-uns> select * from CONTAINER_METRICS
> order by START_TIME desc limit 10;
> +------------+--------------+------------+-------------+------------+------------+------------+-----------------------+-----------------+------------------+-------------------+
> | APP_ID | CONTAINER_ID | START_TIME | FINISH_TIME | DURATION |
> HOSTNAME | EXIT_CODE | LOCALIZATION_DURATION | LAUNCH_DURATION |
> MEM_REQUESTED_GB | MEM_REQUESTED_GB_ |
> +------------+--------------+------------+-------------+------------+------------+------------+-----------------------+-----------------+------------------+-------------------+
> +------------+--------------+------------+-------------+------------+------------+------------+-----------------------+-----------------+------------------+-------------------+
> No rows selected (0.505 seconds)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)