sqoop mysql import data from the given solution to the hive

sqoop Version: 1.4.7 sqoop-
hive Version: 1.1.1 hive-
hadoop version: hadoop-2.6.0
Error Description: Use sqoop import data in mysql to have been in error when the hive
Here Insert Picture Description
reasons: hive lead to incompatible versions of
the hive versions to a hive-1.1.0

Note: There are two errors;

1:
Here Insert Picture Description
encounter this error leads sqoop mysql import data from the database when the hive error;
solution: hive.commo-1.2.1.jar in the hive in the jar lib directory packet into the lib directory of sqoop
Here Insert Picture Description
(2)
Here Insert Picture Description
solution: the hive-exec-1.2.1.jar the jar package hive copied to the lib directory sqoop

Published 10 original articles · won praise 1 · views 202

Guess you like

Origin blog.csdn.net/yang_x_b/article/details/103244136