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
- 下一篇: gta5斜面魔宝在哪改装 Rocksta