[ 
https://issues.apache.org/jira/browse/YARN-7063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16159241#comment-16159241
 ] 

Haibo Chen commented on YARN-7063:
----------------------------------

Thanks [~varun_saxena] for the patch! 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. 
Similar issues can still happen even after ${hbase-compatible-hadoop.version} 
is changed to say, Hadoop 3.0.0, as long as 
hadoop-yarn-server-timelineservice.{trunk-version}.jar is incompatible with 
hadoop-common-3.0.01.jar. 

> 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]

Reply via email to