In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to compile 64-bit hadoop2.7.1 under CentOS6.3". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to compile 64-bit hadoop2.7.1 under CentOS6.3.
Yum install svn
Yum install autoconf automake libtool cmake
Yum intall ncurses-devel
Yum install openssl-devel
Yum install gcc*
Install jdk1.7.0_80 and configure environment variables
Install maven
Wget http://mirrors.noc.im/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
And set the environment variable
8. Install ant
Download and extract apache-ant-1.9.6-bin.tar.gz
Mv ~ / apache-ant-1.9.6 / usr/local
Add environment variabl
ANT_HOME=/usr/local/apache-ant-1.9.6
PATH=$PATH:$ANT_HOME/bin
Verify that the installation is successful
Ant-version
9. Install protobuf-2.5.0.tar.gz
Tar zxvf protobuf-2.5.0.tar.gz
Cd protobuf-2.5.0
. / configure
Make
Make check
Make install
Ls / usr/local/bin
10. Enter the hadoop-2.7.1-src directory and execute the command:
Mvn clean package-Pdist,native-DskipTests-Dtar
Or
Mvn package-Pdist,native-DskipTests-Dtar
Wait for the compilation result. (about 1 hour) compiled successfully.
The compiled file is in. / hadoop-dist/target/hadoop-2.7.1.tar.gz
At this point, I believe you have a deeper understanding of "how to compile 64-bit hadoop2.7.1 under CentOS6.3". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.