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 > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1: system requirements and software package 2: system environment initialization 3: hadoop source code compilation 1: system requirements and software packages system CentOS6.4x64192.168.3.1 master.hadoop.com software requirements Jdk7u76 apache-maven-2.5 protobuf-2.5 apache-ant findbugs hadoop- 2.5.2 2: system environment initialization installation system dependency package yum install-y svn autoconf automake libtool cmake ncurses-devel openssl-devel gcc gcc-c++ installation software Piece # tar-zxvf jdk-7u67-linux-x64.tar.gz#tar-zxvf apache-maven-3.0.5-bin.tar.gz#tar-zxvf findbugs-3.0.0.tar.gz#tar-zxvf apache-ant-1.9.6-bin.tar.gz#rm-rf jdk-7u67-linux-x64.tar.gz#rm-rf apache-maven-3.0.5-bin.tar.gz#rm-rf findbugs-3.0.0.tar.gz#rm -rf apache-ant-1.9.6-bin.tar.gz#mv jdk1.7.67-* / usr/local/jdk#mv apache-maven-* / usr/local/maven#mv apache-ant-* / usr/local/ant#mv findbugs-* / usr/local/findbugs#vim / etc/profile
# java-version
# mvn-version
# findbugs-version
# ant-version
Install protobuf
# tar-zxvf protobuf-2.5.0.tar.gz # cd protobuf-2.5.0 #. / configure # make # make install # protoc
Three: hadoop source code compilation # tar-zxvf hadoop-2.5.2-src.tar.gz # cd hadoop-2.5.2 # mvn clean package-Pdist,native-DskipTests-Dtar comment: you will wait a long time after executing this command. If there is an error error, there is a problem with the environment configuration, and you need to check the JDK environment of the whole system.
There is a compiled hadoop-2.5.2.tar.gz package in the # cd hadoop-dist/target directory.
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.