Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7055 YARN Timeline Service v.2: beta 1
  3. YARN-7063

TestTimelineReaderWebServicesHBaseStorage fails with NoClassDefFoundError on TSv2 branch2

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Seeing NoClassDefFound on the branch2 at runtime

      Stack trace

      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)
      
      

        Attachments

          Activity

            People

            • Assignee:
              varun_saxena Varun Saxena
              Reporter:
              vrushalic Vrushali C
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: