[ https://issues.apache.org/jira/browse/YARN-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16642849#comment-16642849 ]
Rohith Sharma K S commented on YARN-8856: ----------------------------------------- I just ran test in trunk and failed. I found that below is the reason for initialization failure for sysout log. {code} Caused by: org.apache.hadoop.metrics2.MetricsException: Unsupported metric field getEntitiesFailureLatency of type org.apache.hadoop.metrics2.lib.MutableQuantiles at org.apache.hadoop.metrics2.lib.MutableMetricsFactory.newForField(MutableMetricsFactory.java:87) at org.apache.hadoop.metrics2.lib.MetricsSourceBuilder.add(MetricsSourceBuilder.java:147) at org.apache.hadoop.metrics2.lib.MetricsSourceBuilder.<init>(MetricsSourceBuilder.java:69) at org.apache.hadoop.metrics2.lib.MetricsAnnotations.newSourceBuilder(MetricsAnnotations.java:43) at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:223) at org.apache.hadoop.yarn.server.timelineservice.metrics.TimelineReaderMetrics.getInstance(TimelineReaderMetrics.java:61) at org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderWebServices.<clinit>(TimelineReaderWebServices.java:82 {code} This we will not notice in actual deployment because HADOOP-15657 and YARN-8270 go together. But for running tests, it looks tests is considering HBase version of hadoop-common dependency which doesn't exit HADOOP-15657 fix leading to test failure. YARN-8270 jenkins hasn't run hbase-tests package which is the reason we couldn't caught earlier. cc:/ [~vrushalic] [~Sushil-K-S] [~Sushil-K-S] We should skip loading metrics while running hbase tests which actually starts MiniHbase cluster with Hbase-2.0 jars. > TestTimelineReaderWebServicesHBaseStorage tests failing with > NoClassDefFoundError > --------------------------------------------------------------------------------- > > Key: YARN-8856 > URL: https://issues.apache.org/jira/browse/YARN-8856 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Jason Lowe > Priority: Major > > TestTimelineReaderWebServicesHBaseStorage has been failing in nightly builds > with NoClassDefFoundError in the tests. Sample error and stacktrace to > follow. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org