Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3754

explore container fails on MapR5

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: CDAP
    • Labels:
      None
    • Rank:
      1|hzz0cf:

      Description

      Explore appears to be unable to startup on MapR 5.0 (hadoop-2.7, hive 0.13).
      Seeing the following from container log

      cluster id: 3314: /opt/mapr/hadoop/hadoop-2.7.0/logs/userlogs/application_1442748581431_0015/container_1442748581431_0015_01_000004/program.log

      2015-09-20 17:59:51,644 - ERROR [main:o.a.t.i.ServiceMain@93] - Exception when starting service TwillContainerService [FAILED].
      java.lang.ExceptionInInitializerError: null
              at com.mapr.fs.ShimLoader.load(ShimLoader.java:233) ~[maprfs-jni-5.0.0-mapr.jar:na]
              at org.apache.hadoop.conf.CoreDefaultProperties.<clinit>(CoreDefaultProperties.java:61) ~[maprfs-5.0.0-mapr.jar:na]
              at java.lang.Class.forName0(Native Method) ~[na:1.7.0_75]
              at java.lang.Class.forName(Class.java:274) ~[na:1.7.0_75]
              at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2147) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at org.apache.hadoop.conf.Configuration.getProperties(Configuration.java:2362) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2579) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2531) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2444) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at org.apache.hadoop.conf.Configuration.clear(Configuration.java:2473) ~[hadoop-common-2.7.0-mapr-1506.jar:na]
              at co.cask.cdap.common.twill.AbstractMasterTwillRunnable.initialize(AbstractMasterTwillRunnable.java:80) ~[co.cask.cdap.cdap-common-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.data.runtime.main.ExploreCustomClassLoaderTwillRunnable.initialize(ExploreCustomClassLoaderTwillRunnable.java:79) ~[co.cask.cdap.cdap-master-3.2.0-SNAPSHOT.jar:na]
              at org.apache.twill.internal.container.TwillContainerService.doStart(TwillContainerService.java:125) ~[org.apache.twill.twill-yarn-0.6.0-incubating.jar:0.6.0-incubating]
              at org.apache.twill.internal.AbstractTwillService.startUp(AbstractTwillService.java:171) ~[org.apache.twill.twill-core-0.6.0-incubating.jar:0.6.0-incubating]
              at com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:47) ~[com.google.guava.guava-13.0.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_75]
      Caused by: java.lang.RuntimeException: Failure loading MapRClient. 
              at com.mapr.fs.ShimLoader.injectNativeLoader(ShimLoader.java:295) ~[maprfs-jni-5.0.0-mapr.jar:na]
              at com.mapr.fs.ShimLoader.load(ShimLoader.java:213) ~[maprfs-jni-5.0.0-mapr.jar:na]
              ... 15 common frames omitted
      Caused by: java.lang.reflect.InvocationTargetException: null
              at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) ~[na:na]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]
              at com.mapr.fs.ShimLoader.injectNativeLoader(ShimLoader.java:274) ~[maprfs-jni-5.0.0-mapr.jar:na]
              ... 16 common frames omitted
      Caused by: java.lang.LinkageError: loader (instance of  sun/misc/Launcher$ExtClassLoader): attempted  duplicate class definition for name: "com/mapr/fs/shim/LibraryLoader"
              at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_75]
              at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[na:1.7.0_75]
              ... 20 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poorna Poorna Chandra
                Reporter:
                derek Derek Wood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: