schematool -dbType mysql -initSchema时报错。网上教程都是说在文件头部加上mysql的连接配置,但是hive-site.xml.templat中原本是有derby的配置,这样就会被下面的derby配置覆盖,导致初始化失败。方法就是可以将mysql配置放在最下面,或者删除derby的配置
Schema initialization FAILED! Metastore state would be inconsistent !!
最新推荐文章于 2024-04-01 16:39:01 发布