Apache hive error Merge credentials not supported in this version of hadoop

I am using hasoop 1.2.1, hbase 0.94.14 and hive 1.0.0. There are three datanodes in my clsuter and three regional servers. I need to import some data from hbase into a hive. I configured hive successfully, but when I ran the command to consider no. rows in the hive table, then it gives the following

ERROR [main]: exec.Task (SessionState.java:printError(833)) - Job Submission failed with exception 'java.lang.RuntimeException(java.io.IOException: Merging of credentials not supported in this version of hadoop)' java.lang.RuntimeException: java.io.IOException: Merging of credentials not supported in this version of hadoop at org.apache.hadoop.hive.hbase.HBaseStorageHandler.configureJobConf(HBaseStorageHandler.java:485) at org.apache.hadoop.hive.ql.plan.PlanUtils.configureJobConf(PlanUtils.java:856) at org.apache.hadoop.hive.ql.plan.MapWork.configureJobConf(MapWork.java:540) 

I changed the version of the hive to 0.14, but the same error. What is his solution? Note. I can not update hasoop.

+5
source share
1 answer

Although your version of Hive is current, this is not the source of your error. You need to upgrade Hadoop to version 2.4.0 or higher.

The error occurs here https://github.com/apache/hive/blob/3b6825b5b61e943e8e41743f5cbf6d640e0ebdf5/shims/0.20S/src/main/java/org/apache/hadoop/hive/shims/Hadoop20SShims.java#579

+3
source

Source: https://habr.com/ru/post/1214231/


All Articles