Hive 搭建常见错误

1、 问题描述

[ERROR] Terminal initialization failed; falling back to unsupported

处理

删除
$HADOOP_HOME/share/hadoop/yarn/lib/jline-0.9.94.jar 文件

然后重新启动 hive 即可

2、问题描述

[root@master conf]# schematool -dbType mysql -initSchema
Metastore connection URL:     jdbc:mysql://192.168.176.65:3306/hive
Metastore Connection Driver :     com.mysql.jdbc.Driver
Metastore connection User:     root
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
*** schemaTool failed ***
[root@master conf]# cd ..

处理

开启MySQL的远程访问,并重启MySQL
发表评论 / Comment

用心评论~