[
https://issues.apache.org/jira/browse/HIVE-24706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhangzhanchang updated HIVE-24706:
----------------------------------
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 both conditions to be true:
# classOf[oldInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true
# classOf[newInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true
!image-2021-01-30-15-51-58-665.png|width=430,height=137!
Hivehbasetableinputformat relies on inputformat to be changed to
org.apache.hadoop.mapreduce or org.apache.hadoop.mapred?
> Spark SQL access hive on HBase table access exception
> -----------------------------------------------------
>
> Key: HIVE-24706
> URL: https://issues.apache.org/jira/browse/HIVE-24706
> Project: Hive
> Issue Type: Bug
> Components: HBase Handler
> Reporter: zhangzhanchang
> Priority: Major
> Attachments: image-2021-01-30-15-51-58-665.png
>
>
> 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 both conditions to be true:
> # classOf[oldInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true
> # classOf[newInputClass[_, _]].isAssignableFrom(inputFormatClazz) is true
> !image-2021-01-30-15-51-58-665.png|width=430,height=137!
> Hivehbasetableinputformat relies on inputformat to be changed to
> org.apache.hadoop.mapreduce or org.apache.hadoop.mapred?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)