In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "compiling hive and configuration installation steps under Linux". In daily operation, I believe that many people have doubts about compiling hive and configuration installation steps under Linux. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "compiling hive and configuration installation steps under Linux". Next, please follow the editor to study!
First, download the source code package of hive-1.1.0-cdh6.7.0.
Download address: wget http://archive.cloudera.com/cdh6/cdh/5/hive-1.1.0-cdh6.7.0-src.tar.gz
2. Maven is required to compile the source package of hive-1.1.0-cdh6.7.0, and the version I choose is maven3.3.9.
Download address: http://maven.apache.org/download.cgi
Since the default maven address is slow to download things, you can add a domestic mirror address to / conf/settings.xml under the maven home directory.
Repo1
Central
Human Readable Name for this Mirror.
Http://maven.ibiblio.org/maven2/
Repo2
Central
Human Readable Name for this Mirror.
Http://repo2.maven.org/maven2/
Third, set the environment variable of Maven in etc/profile
Export MANVE_HOME=/home/hadoop/app/apache-maven-3.3.9
Export PATH=$MANVE_HOME/bin:$PATH
4. JDK1.7+ is required for the source package of hive-1.1.0-cdh6.7.0
5. Compile the source code of Hive2.1.1 and package the instructions as follows:
Mvn clean package-DskipTests-Phadoop-2-Pdist
After compilation, a tar package will be generated in the packaging/target directory under the source directory, and the related hive module jar packages can be found in this tar package.
File name: apache-hive-1.1.0-cdh6.7.0-bin.tar.gz
6. The successful compilation is as follows:
Summary: configure the components required for compilation according to the requirements in the source code, such as MANVE, JDK, etc.
At this point, the study of "compiling hive and configuration installation steps under Linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





 
             
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.