Hadoop learning notes

Source: Internet
Author: User

I am very interested in Hadoop recently. The following is a compilation on the CentOS system.

The system conditions are as follows:

1. CentOS 6.2 64-bit
2. hadoop-2.2.0
3. jdk 1.6.0 _ 31
4. maven 3.1.0
5. protobuf-2.5.0
6. cmake 2.8.12.1

JDK has been installed in the system and is correctly set. The installation and settings of JDK are not described here. Please refer

Step 1: Install maven

1.1 download file apache-maven-3.1.0-alpha-1-bin.tar.gz

1.2 execute the command tar zvxf apache-maven-3.1.0-alpha-1-bin.tar.gz

1.3 configure environment variables, edit the etc/profile file, and add the following code

MAVEN_HOME=/home/youUser/apache-maven-3.1.0-alpha-1PATH=$MAVEN_HOME/bin:$PATHexport MAVEN_HOMEexport PATH

1.4 save the file and run the following command to make the environment variable take effect

source /etc/profile

1.5 run the following command to check whether the installation is normal:

mvn -version

Step 2: Install protobuf

2.1 Download file protobuf-2.5.0.tar.gz

2.2 execute the command tar zvxf protobuf-2.5.0.tar.gz

2.3 Go To The protobuf-2.5.0 directory and execute the following command

./Configure

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page
[Content navigation]
Page 1: Compilation Page 1: Configuration
Page 1: the first program Page 1: run a real MapReduce Program
Page 1: Real Distributed System Construction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.