解決辦法: 到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>