[
https://issues.apache.org/jira/browse/YARN-7063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160111#comment-16160111
]
Varun Saxena commented on YARN-7063:
------------------------------------
bq. I think the root cause is rather that we are mixing
hadoop-yarn-server-timelineservice.3.0 jar with hadoop-common-2.5.1 jar in the
test module.
Yeah that is what I meant. That we use hadoop 2.5.1 jar (was referring to
hadoop common jar) because of HBase version while timelineservice uses current
version. Do we have any other option?
The tests in timelineservice hbase tests test E2E flow using HBase testing
utility (HBase version being 2.6.1) and that requires hadoop 2.5.1.
bq. Similar issues can still happen even after
${hbase-compatible-hadoop.version} is changed to say, Hadoop 3.0.0
Yes, till incompatibility exists between code in hadoop version used by HBase
and code used by us in timelineservice, this code would have to be retained.
Or HBase can provide the relevant jar with shaded dependencies.
As of now for merge to branch-2, I think we can just make code consistent with
main branch.
> TestTimelineReaderWebServicesHBaseStorage fails with NoClassDefFoundError on
> TSv2 branch2
> -----------------------------------------------------------------------------------------
>
> Key: YARN-7063
> URL: https://issues.apache.org/jira/browse/YARN-7063
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Reporter: Vrushali C
> Assignee: Varun Saxena
> Attachments: YARN-7063-YARN-5355_branch2.01.patch
>
>
> Seeing NoClassDefFound on the branch2 at runtime
> Stack trace
> {code}
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/security/AuthenticationWithProxyUserFilter
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at
> org.apache.hadoop.yarn.server.timelineservice.reader.security.TimelineReaderAuthenticationFilterInitializer.initFilter(TimelineReaderAuthenticationFilterInitializer.java:49)
> at
> org.apache.hadoop.http.HttpServer2.initializeWebServer(HttpServer2.java:393)
> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:344)
> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:104)
> at
> org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:292)
> at
> org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderServer.startTimelineReaderWebApp(TimelineReaderServer.java:181)
> at
> org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderServer.serviceStart(TimelineReaderServer.java:124)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
> at
> org.apache.hadoop.yarn.server.timelineservice.reader.AbstractTimelineReaderHBaseTestBase.initialize(AbstractTimelineReaderHBaseTestBase.java:91)
> at
> org.apache.hadoop.yarn.server.timelineservice.reader.TestTimelineReaderWebServicesHBaseStorage.setupBeforeClass(TestTimelineReaderWebServicesHBaseStorage.java:79)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]