You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2018/07/06 21:50:00 UTC

[jira] [Commented] (YARN-8383) TimelineServer 1.5 start fails with NoClassDefFoundError

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

Jason Lowe commented on YARN-8383:
----------------------------------

Sorry for the delay, as I was out on vacation and finally got back to this.

I think this was caused by YARN-6628.  It looks like the jackson core is being shaded but the fst library is not being updated to reference the shaded path.

I can try to poke at this some more early next week to see if providing a shaded version of fst that in turn references the shaded version of jackson can work.

> TimelineServer 1.5 start fails with NoClassDefFoundError
> --------------------------------------------------------
>
>                 Key: YARN-8383
>                 URL: https://issues.apache.org/jira/browse/YARN-8383
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.4
>            Reporter: Rohith Sharma K S
>            Priority: Blocker
>
> TimelineServer 1.5 start fails with NoClassDefFoundError.
> {noformat}
> 2018-05-31 22:10:58,548 FATAL org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer: Error starting ApplicationHistoryServer
> java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonFactory
> 	at org.apache.hadoop.yarn.server.timeline.RollingLevelDBTimelineStore.<clinit>(RollingLevelDBTimelineStore.java:174)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:348)
> 	at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2306)
> 	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2271)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2367)
> 	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2393)
> 	at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.createSummaryStore(EntityGroupFSTimelineStore.java:239)
> 	at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.serviceInit(EntityGroupFSTimelineStore.java:146)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceInit(ApplicationHistoryServer.java:115)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:180)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:190)
> Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonFactory
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 15 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org