赞
踩
完整报错:
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
报错就不存在了,也成功运行了
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。