您的位置:首页 > 运维架构 > Apache

Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

2018-03-14 09:13 816 查看
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient在进入hive时执行命令时报出如下错,特意记录下,再stackflow 上找到如下解决方法,亲测解决,原因应该是非正常关闭hive引起的。
starting the hive metastore service worked for me. First, set up the database for hive metastore:
$ hive --service metastore
https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/validate_installation.htmlSecond, run the following commands:
$ schematool -dbType mysql -initSchema
$ schematool -dbType mysql -info
https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐