Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5355 YARN Timeline Service v.2: alpha 2
  3. YARN-6414

ATSv2 HBase related tests fail due to guava version upgrade

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 2.9.0, 3.0.0-alpha4
    • timelineserver
    • Ubuntu 14.04
      x86, ppc64le
      $ java -version
      openjdk version "1.8.0_111"
      OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
      OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

    • Reviewed

    Description

      Test failures seen in Hadoop YARN Timeline Service HBase tests project with following error :

      java.lang.NoClassDefFoundError: com/google/common/io/LimitInputStream
              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.hdfs.server.namenode.FSImageFormat$LoaderDelegator.load(FSImageFormat.java:223)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:913)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:899)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImageFile(FSImage.java:722)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:660)
              at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:279)
              at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:955)
              at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:700)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:529)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:585)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:751)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:735)
              at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1407)
              at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:998)
              at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:869)
              at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:704)
              at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:642)
              at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:590)
              at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:987)
              at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:868)
              at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:862)
              at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:806)
              at org.apache.hadoop.yarn.server.timelineservice.reader.TestTimelineReaderWebServicesHBaseStorage.setup(TestTimelineReaderWebServicesHBaseStorage.java:88)
      

      Below are the failing tests :

      TestTimelineReaderWebServicesHBaseStorage.setup:88 » NoClassDefFound com/googl...
        TestHBaseTimelineStorageEntities.setupBeforeClass:100 » NoClassDefFound com/go...
        TestHBaseStorageFlowActivity.setupBeforeClass:72 » NoClassDefFound com/google/...
        TestHBaseStorageFlowRunCompaction.setupBeforeClass:84 » NoClassDefFound com/go...
        TestHBaseStorageFlowRun.setupBeforeClass:86 » NoClassDefFound com/google/commo...
        TestHBaseTimelineStorageApps.setupBeforeClass:93 » NoClassDefFound com/google/...
      

      Attachments

        1. YARN-6414.01.patch
          2 kB
          Haibo Chen
        2. YARN-6414.00.patch
          2 kB
          Haibo Chen

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            haibochen Haibo Chen
            Sonia Sonia Garudi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment