Decentralized-ubuntu12.04 installation hadoop1.2.1

Source: Internet
Author: User

The hadoop1.2.1 was preinstalled in a report to install the instructions in Java. I loaded a lot of versions of Java and many of the version numbers Hadoop, and then found Oracle-java7 and hadoop1.2.1 able to match.


One, install detailed procedures such as the following:

1. Installing Java:sudo apt-get Install Oracle-java7-installer

2. Installing Hadoop1.2.1:http://hadoop.apache.org/docs/r1.2.1/single_node_setup.html#download


Two. Test for successful installation (pseudo-distributed mode):

Format a new Distributed-filesystem:
$ bin/hadoop Namenode-format

Start the Hadoop daemons:
$ bin/start-all.sh

The Hadoop daemon log output is written to the ${hadoop_log_dir} directory (defaults to ${hadoop_home}/logs).
Browse the Web interface for the NameNode and the Jobtracker; By default they is available at:
namenode-http://localhost:50070/
jobtracker-http://localhost:50030/
Copy the input files into the distributed filesystem:
$ bin/hadoop fs-put conf input

Run Some of the examples provided:
$ bin/hadoop jar hadoop-examples-*.jar grep input Output ' dfs[a-z. +

Examine the output files:
Copy the output files from the distributed filesystem to the local filesytem and examine them:
$ bin/hadoop fs-get Output output
$ cat output/*

When you ' re done, stop the daemons with:
$ bin/stop-all.sh


Three. Web UI

1. namenode:http://localhost:50070/
2. jobtracker:http://localhost:50030/

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Decentralized-ubuntu12.04 installation hadoop1.2.1

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.