In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "hive installation process return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. How to do", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "hive installation process return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Problem" this article.
After installing hive0.12.0 hadoop version 1.0.1, there is no hive history to start hive.
Hadoop@bigfish-System-Product-Name:/usr/local/hive/conf$ hive
Logging initialized using configuration in jar VAT fileVlue Unix USRS Lexus localUnix HiveUnix LIBUR Universe 0.12.0.JarVue Log 4j.properties
Hive >
And then show tables
Hive > show tables
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
Hive >
What do you say on the Internet? jdbc package, but I let go, and I have mysql configuration users, and I still can't match it.
Solution to the problem:
The problem has been solved. At first, there was no history. I suspect it was the hive version. Sure enough, I changed the hive-0.9.0 and reinstalled it again.
As for showtables, the permissions in mysql are not properly configured. At first, according to the things on the Internet, the% number of create user 'hive'@'%' is not the same as the jdbc configured in that hive-site.xml, so I simply replaced it with localhost, and then created my own database hive with hive users. It seems that I have to use hive users to create their own database. Then I started knocking, such as show tables, for a while, and then suddenly ok appeared when I thought it would not be successful. Here, I thought about it carefully. It may be a permission problem, because the user name and password we used during configuration are in mysql. If the permissions are not correct, they cannot be connected.
The above is all the contents of the article "return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. What to do during hive installation". 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!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.