无法访问配置单元cli

dwbf0jvd  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(220)

我已经在centos 7机器上安装了hadoop和hive,无法访问hive cli。

[centos@ip-10-103-2-173 hive]$ hive

    OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
    WARNING: Use "yarn jar" to launch YARN applications.
    OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
    17/02/27 14:17:24 WARN conf.HiveConf: HiveConf of name hive.metastore.pre-event.listeners does not exist
    17/02/27 14:17:24 WARN conf.HiveConf: HiveConf of name hive.metastore.local does not exist
    17/02/27 14:17:24 WARN conf.HiveConf: HiveConf of name hive.optimize.mapjoin.mapreduce does not exist
    17/02/27 14:17:24 WARN conf.HiveConf: HiveConf of name hive.auto.convert.sortmerge.join.noconditionaltask does not exist
    17/02/27 14:17:24 WARN conf.HiveConf: HiveConf of name hive.semantic.analyzer.factory.impl does not exist

    Logging initialized using configuration in file:/etc/hive/conf/hive-log4j.properties
    Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522)
    at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

请帮忙。我正在使用postgresql。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题