Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6891 Hadoop 2 unit test failures
  3. HBASE-8528

[hadoop2] TestMultiTableInputFormat always fails on hadoop with YARN-129 applied

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.95.0
    • Fix Version/s: 0.98.0, 0.95.1
    • Component/s: hadoop2, mapreduce, test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TestMulitTableInputFormat always fails if YARN-129 is applied. Its error message isn't useful (assertion failed) – but if you look at the stderr/stdout/syslog files of the jobs in hbase-server/target/org.apache.hadoop.mapred.MiniMRCluster* (minicluster data dirs) you'll find this class not found exception:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/v2/app/MRAppMaster
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapreduce.v2.app.MRAppMaster
              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster.  Program will exit.
      

        Attachments

        1. hbase-8528.patch
          1.0 kB
          Jonathan Hsieh
        2. hbase-8528_alt.patch
          0.8 kB
          Gary Helmling
        3. hbase-8528.alt.v2.patch
          1 kB
          Jonathan Hsieh

          Issue Links

            Activity

              People

              • Assignee:
                jmhsieh Jonathan Hsieh
                Reporter:
                jmhsieh Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: