Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24706

Spark SQL access hive on HBase table access exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HBase Handler
    • Labels:
      None

      Description

      Hivehbasetableinputformat relies on two versions of inputformat,one is org.apache.hadoop.mapred.InputFormat, the other is org.apache.hadoop.mapreduce.InputFormat,Causes

      spark 3.0(https://github.com/apache/spark/pull/31302) both conditions to be true:

      1. classOf[oldInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true
      2. classOf[newInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true

      Hivehbasetableinputformat relies on inputformat to be changed to org.apache.hadoop.mapreduce or org.apache.hadoop.mapred?

       

        Attachments

        1. image-2021-01-30-15-51-58-665.png
          94 kB
          zhangzhanchang

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zzccctv zhangzhanchang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: