Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2511

java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v2.0.0
    • None
    • None
    • Important

    Description

      When I use the apache-kylin-1.6.0-cdh5.7-bin.tar.gz + CDH5.8 to build the sample cube , will cause the ERROR at Extract Fact Table Distinct Columns step , the ERROR info as belows:
      2017-03-16 11:21:18,357 ERROR [pool-9-thread-6] threadpool.DefaultScheduler:140 : ExecuteException job:02941fbe-6f3a-4a2c-bb99-4bb61b388f80
      org.apache.kylin.job.exception.ExecuteException: org.apache.kylin.job.exception.ExecuteException: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
      at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:123)
      at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:136)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.kylin.job.exception.ExecuteException: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
      at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:123)
      at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:57)
      at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
      ... 4 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/typeinfo/TypeInfo
      at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:105)
      at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.setupMapper(FactDistinctColumnsJob.java:119)
      at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:103)
      at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:92)
      at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:120)
      at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:113)
      ... 6 more
      Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.serde2.typeinfo.TypeInfo
      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)
      ... 12 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            kastore LIUCUN
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: