解决办法: 到mysql中的hive数据库里执行 alter database hive character set latin1;
mysql
改变hive元数据库的字符集,问题就能够解决! 可是这时你若是建一个表里有中文,就会报错了。sql
解决办法: 在配置文件中将HBase和ZooKeeper的配置去掉就能够了。数据库
在 SQOOP_HOME/bin/configure-sqoop
中关于 HBASE 和ZOOKEEPER去掉。oop
/user/${user_name}
目录下有一个。若是使用了--create-hive-table
选项,那么文件和表都必需要清掉。code
####6. show tables时log报:MetaException(message:Version information not found in metastore. )orm
将hive.metastore.schema.verification
设为falseci
<name>hive.metastore.schema.verification</name> <value>false</value>