In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you what are the common problems in hive, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Frequently asked questions about hive
1. Org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000
Problem: hive-- service hiveserver starts the hiveserver service
Solution: Port is occupied, kill the port process or redefine port hive-- service hiveserver-p 10001
2. Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
Solution:. / hive-hiveconf hive.root.logger=DEBUG,console
Output the error log and modify it. Generally speaking, it is a problem of hive users' mysql library permissions.
3. Error: dl failure on line 864
Error: failed / home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so, because / home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
Solution: / usr/sbin/setenforce 0
4. A Filesystem closed exception occurred while running the Hadoop program.
By verifying that the cache is set. The cache needs to be canceled.
By modifying the configuration file core-site.xml:
Fs.hdfs.impl.disable.cache
True
The above problem still occurs in the program.
In the program, add this statement: JobConf jobConf.set ("fs.hdfs.impl.disable.cache", "true")
The program runs successfully.
5 Failed with exception Unable to move sourcehdfs://vmtmstorm01:8020/test to destination hdfs://vmtmstorm01:8020/user/hive/warehouse/ptest/name=ww/test
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask
The above is all the content of the article "what are the frequently asked questions 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!
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.