Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
程序员文章站
2024-02-28 08:55:34
...
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
Second, run the following commands:
$ schematool -dbType mysql -initSchema
$ schematool -dbType mysql -info
https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool
上一篇: Android组件化开发注意事项
下一篇: Asp.Net URL重写的具体实现
推荐阅读
-
Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
-
Unable to determine source type <S> and target type <T> for your Converter
-
startJVM错误Unable to load native library: libjvm.so解决方法
-
java.lang.OutOfMemoryError: unable to create new native thread 博客分类: Javajava swing 初始化线程过多
-
【深度学习 GPU驱动安装】Unable to determine the device handle for GPU 0000:13:00.
-
Unable to determine the device handle for GPU 0000:04:00.0: GPU is lost. Reboot the system to recov
-
grpc unable to determine Go import path for
-
Unable to determine the device handle for GPU 0000:83:00.0: GPU is lost.Reboot the system to recover
-
PHP Warning: PHP Startup: Unable to load dynamic library &am_MySQL
-
HTML Parsing Error: Unable to modify the parent container element before the chi,该如何处理