Configure hadoop2.5.0 on the 64-bit Ubuntu Server

Source: Internet
Author: User

1. Create a hadoop user group and user in Ubuntu

2. Install JDK In ubuntu (you can download the linux package from the official website and decompress it for installation)

Hadoop download: http://www.apache.org/dyn/closer.cgi/hadoop/common/

Because 64-bit Ubuntu needs to compile the source file: Download hadoop-2.5.0-src.tar.gz

(1) installation required during compilationProtobuf-2.5.decompress protobuf-2.5.0.tar.gz, Go to the protobuf-2.5.0 directory and execute the following command

./Configure -- prefix =/usr

Sudo make

Sudo make check

Sudo make install

Verification: protoc -- version

(2) install Maven.

(3) Compile hadoop

Decompress hadoop-2.5.0-src.tar.gz, enter the hadoop-2.5.0-src, and execute the following command

MVN package-pdist, native-dskiptests-dtar

Reference: http://www.ercoppa.org/Linux-Compile-Hadoop-220-fix-Unable-to-load-native-hadoop-library.htm

Possible problem: http://www.cnblogs.com/shenh062326/p/3562491.html

The compiled files are in hadoop-Dist/target.

4. installation and configuration

Reference: http://www.cnblogs.com/end/archive/2012/08/13/2636645.html

Http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html

Https://www.digitalocean.com/community/tutorials/how-to-install-hadoop-on-ubuntu-13-10

Run after installation: jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.5.0.jar grep input output 'dfs [A-Z.] +'

View on the page:

Http: // localhost: 50070/dfshealth.html # tab-Overview

Http: // localhost: 8088/Cluster

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.