Hive database does not exist 排查
Hive安装完成之后,插入数据进行测试:
insert into test values("a","a");
insert OK.
然后select:
select * from test;
报错:
FAILED: SemanticException [Error 10072]: Database does not exist: default
搜了n多文章,都说是hive.metastore.uris的问题。修改了也没用。最后终于找到蛛丝马迹,是driver的问题
mysql-connector-java-5.1.9.jar
修改为:
mysql-connector-java-5.1.47.jar
问题解决。
附driver链接:
mysql driver
相关推荐
archive 2020-07-30
成长之路 2020-07-28
eternityzzy 2020-07-19
taisenki 2020-07-05
tugangkai 2020-07-05
SignalDu 2020-07-05
zlsdmx 2020-07-05
tomson 2020-07-05
tugangkai 2020-07-04
tomson 2020-07-05
Zhangdragonfly 2020-06-28
genshengxiao 2020-06-26
成长之路 2020-06-26
tomson 2020-06-26
蜗牛之窝 2020-06-26
成长之路 2020-06-25