Ubuntu12.10 install hadoop1.0.4 pseudo-distributed

Source: Internet
Author: User
I installed it on a virtual machine. I will not talk about installing Ubuntu12.10. Let's talk about the simple steps of installing Hadoop1.0.4 pseudo-distributed. Windows 7 hard drive installation Ubuntu12.10 graphic tutorial

I installed it on a virtual machine. I will not talk about installing Ubuntu 12.10. Let's talk about the simple steps of installing Hadoop1.0.4 pseudo-distributed.

Windows 7 hard disk installation Ubuntu 12.10 graphic tutorial http://www.linuxidc.com/Linux/2012-11/73500.htm

1. Install jdk

For the installation method, see http://www.linuxidc.com/linux/2013-01/77923.htm.

2. Install SSH and configure password-free Login

In ubuntu 12.10, you can use sudo apt-get install ssh for installation. If any problem occurs, you can modify the agt source of ubuntu. I changed it to the 163 source before it can be installed properly. Baidu can easily find the modification method.

Then enter ssh-keygen-t dsa-p'-f ~ /. Ssh/id_dsa, input content similar to the following

Enter cat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keys command.

3. Extract hadoop1.0.4 to a directory.

4. modify the configuration file:

Go to the hadoop-env.sh directory (/hadoop-1.0.4/conf/) and modify the file as follows: export JAVA_HOME =/usr/java/jdk1.6.0 _ 37. Here is your own jdk address.

Conf/core-site.xml:



Fs. default. name
Hdfs: // localhost: 9000

Conf/hdfs-site.xml:



Dfs. replication
1

Conf/mapred-site.xml:



Mapred. job. tracker
Localhost: 9001

5. Format namenode

Enter the command bin/hadoop namenode-format

6. Start hadoop

Enter command bin/start-all.sh

The above are all files in the hadoop directory by default.

Use http: // localhost: 50030, http: // localhost: 50070 for verification

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

For more information about Hadoop, see Hadoop topic page http://www.linuxidc.com/topicnews.aspx? Tid = 13

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.