ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18655) Metric level hadoop metrics2 filter is incompatible with AMS HadoopTimelineMetricsSink.
Date Thu, 20 Oct 2016 22:07:58 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aravindan Vijayan updated AMBARI-18655:
---------------------------------------
    Status: Patch Available  (was: Open)

> Metric level hadoop metrics2 filter is incompatible with AMS HadoopTimelineMetricsSink.
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18655
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18655
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.5.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>              Labels: ambari-metrics
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18655.patch
>
>
> {code}
> 2016-10-19 14:46:41,647 INFO  [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink:
Collector Uri: http://apappu-hdp-3.hdp.com:6188/ws/v1/timeline/metrics
> 2016-10-19 14:46:41,653 INFO  [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline
started
> 2016-10-19 14:46:41,655 INFO  [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot
period at 10 second(s).
> 2016-10-19 14:46:41,655 INFO  [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics
system started
> java.lang.ClassCastException: org.apache.hadoop.metrics2.impl.MetricsRecordFiltered$1
cannot be cast to java.util.Collection
>         at org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.putMetrics(HadoopTimelineMetricsSink.java:258)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:186)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:43)
>         at org.apache.hadoop.metrics2.impl.SinkQueue.consumeAll(SinkQueue.java:87)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.publishMetricsFromQueue(MetricsSinkAdapter.java:134)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter$1.run(MetricsSinkAdapter.java:88)
> 2016-10-18 13:39:42,896 ERROR [timeline] impl.MetricsSinkAdapter: Got sink exception
and over retry limit, suppressing further error messages
> java.lang.ClassCastException: org.apache.hadoop.metrics2.impl.MetricsRecordFiltered$1
cannot be cast to java.util.Collection
>         at org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.putMetrics(HadoopTimelineMetricsSink.java:258)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:186)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:43)
>         at org.apache.hadoop.metrics2.impl.SinkQueue.consumeAll(SinkQueue.java:87)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.publishMetricsFromQueue(MetricsSinkAdapter.java:134)
>         at org.apache.hadoop.metrics2.impl.MetricsSinkAdapter$1.run(MetricsSinkAdapter.java:88)
> Tue Oct 18 13:41:53 PDT 2016 Terminating regionserver
> {code}



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

Mime
View raw message