HadoopTimelineMetricsSink exception in HDP3.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HadoopTimelineMetricsSink exception in HDP3.0

Lian Jiang
I am using HDP3.0 and ambari 2.7 blueprint to install the cluster. Namenode/journal node failed to start due to the exception:

a:main(1715)) - Failed to start namenode.
java.lang.AbstractMethodError: org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.init(Lorg/apache/commons/configuration2/SubsetConfiguration;)V
    at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:208)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.newSink(MetricsSystemImpl.java:531)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSinks(MetricsSystemImpl.java:503)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:479)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:188)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:163)
    at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:62)
    at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:58)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1642)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1710)


https://issues.apache.org/jira/browse/AMBARI-20156 is still open. Has this bug been fixed in HDP3.0? Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: HadoopTimelineMetricsSink exception in HDP3.0

Suma Shivaprasad
Hi Lian,

Yes this is fixed in HDP 3.0 and the corresponding Ambari Apache jira for this is https://issues.apache.org/jira/browse/AMBARI-22524

Thanks
Suma

 

On Sat, Aug 11, 2018 at 8:50 AM Lian Jiang <[hidden email]> wrote:
I am using HDP3.0 and ambari 2.7 blueprint to install the cluster. Namenode/journal node failed to start due to the exception:

a:main(1715)) - Failed to start namenode.
java.lang.AbstractMethodError: org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.init(Lorg/apache/commons/configuration2/SubsetConfiguration;)V
    at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:208)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.newSink(MetricsSystemImpl.java:531)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSinks(MetricsSystemImpl.java:503)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:479)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:188)
    at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:163)
    at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:62)
    at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:58)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1642)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1710)


https://issues.apache.org/jira/browse/AMBARI-20156 is still open. Has this bug been fixed in HDP3.0? Thanks.