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

Spark SQL access hive on HBase table access exception

    XMLWordPrintableJSON

Details

    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

            Unassigned Unassigned
            zzccctv zhangzhanchang
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m