Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8383

TimelineServer 1.5 start fails with NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.8.4
    • 2.8.5
    • None
    • None
    • Reviewed

    Description

      TimelineServer 1.5 start fails with NoClassDefFoundError.

      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
      
      

      Attachments

        1. YARN-8383.001-branch-2.8.patch
          1 kB
          Jason Darrell Lowe

        Issue Links

          Activity

            People

              jlowe Jason Darrell Lowe
              rohithsharma Rohith Sharma K S
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: