Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to execute showdatabases error report in hive

Shulou Source: shulou.com Published: 2022-05-31 21:20:32 09月22日 Update

This article mainly shows you the "implementation of showdatabases error reports in hive how to do", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to implement showdatabases error reporting in hive" this article.

Hive > show databases

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient

View log information:

. / hive-hiveconf hive.hadoop.logger=DEBUG,console (command to view log information in hive, I am a hadoop user natively)

Solution:

GRANT ALL PRIVILEGES ON *. * TO 'hadoop'@'master' IDENTIFIED BY' hadoop' WITH GRANT OPTION

Flush privileges

Finally, ok.

The above is all the content of this article "how to execute showdatabases error report in hive". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: What to do content articles information logs learning help commands methods easy to understand more organization users knowledge editing industry information information channels channels local machine Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology macOS Shulou Information Apple Linux