解决hive出现 Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 错误

版权声明:版权声明中 https://blog.csdn.net/lds_include/article/details/88815378

解决hive出现 Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 错误

问题:

  • 执行show databases 命令的时候出现如下标错:Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    在这里插入图片描述

原因:

  • 没有在mysql上配置hive的数据库,不能完成初始化,也就是没有配置元数据存放的数据库。

解决方法:

  • 将mysql中存放的元数据的数据创建出来,然后再初始化hive;

猜你喜欢

转载自blog.csdn.net/lds_include/article/details/88815378