org.apache.hadoop.hive.metastore.api.MetaException: Get request failed :xxxx
生活随笔
收集整理的这篇文章主要介绍了
org.apache.hadoop.hive.metastore.api.MetaException: Get request failed :xxxx
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
报错复现如下:
Flink SQL> create database testdb;
[ERROR] Could not execute SQL statement. Reason:
org.apache.hadoop.hive.metastore.api.MetaException: Get request failed : SELECT `A0`.`PARAM_VALUE` FROM `DATABASE_PARAMS` `A0` WHERE `A0`.`DB_ID` = ? AND `A0`.`PARAM_KEY` = ?
原因:
更换hive版本后,元数据库没有重新初始化.
解决方案:
mysql>drop database hive
mysql>create database hive character set latin1;
命令行输入:
schematool -dbType mysql -initSchema
总结
以上是生活随笔为你收集整理的org.apache.hadoop.hive.metastore.api.MetaException: Get request failed :xxxx的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: fgo虚月馆凶手是谁 如何在pc端下载f
- 下一篇: hive执行drop卡死一例:java.