How to execute showdatabases error report in hive
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!