当前位置:   article > 正文

报错:Schema initialization FAILED! Metastore state would be inconsistent !!Schema script failed, error

schema initialization failed! metastore state would be inconsistent !!

完整报错:

org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!
Underlying cause: java.io.IOException : Schema script failed, errorcode 2
org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !!

图片:

 解决方法:

   将mysql的数据库删掉重新新建即可

 再次运行初始化命令:

schematool -initSchema -dbType mysql -verbose

 报错就不存在了,也成功运行了

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/286787
推荐阅读
相关标签
  

闽ICP备14008679号