Schema initialization FAILED! Metastore state would be inconsistent !!
schematool -dbType mysql -initSchema时报错。网上教程都是说在文件头部加上mysql的连接配置,但是hive-site.xml.templat中原本是有derby的配置,这样就会被下面的derby配置覆盖,导致初始化失败。方法就是可以将mysql配置放在最下面,或者删除derby的配置...
原创
2018-09-26 14:37:01 ·
4728 阅读 ·
0 评论