java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/type/HiveIntervalYearMonth

Stack Overflow | Munesh | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spark SQL failed while reading table format OpenCSVSerde ClassNotFoundException Class org.apache.hadoop.hive.serde2.OpenCSVSerde not found

    Stack Overflow | 6 months ago | Munesh
    java.lang.NoClassDefFoundError: org/apache/hadoop/hive/common/type/HiveIntervalYearMonth

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/hadoop/hive/common/type/HiveIntervalYearMonth

      at org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.<clinit>()
    2. Hive Serde
      TypeInfoUtils$TypeInfoParser.expect
      1. org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorUtils.<clinit>(PrimitiveObjectInspectorUtils.java:228)
      2. org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.expect(TypeInfoUtils.java:341)
      2 frames