Learn Hadoop and build Hadoop with some special problems

Source: Internet
Author: User

I perform the following steps:

1. dynamically increase datanode nodes and Tasktracker nodes

in host226 as an example

Execute on host226:

Specify host Name

Vi/etc/hostname

Specify host name-to-IP-address mappings

Vi/etc/hosts

(the hosts are the Datanode and TRAC)

Adding users and Groups

AddGroup Hadoop

AddUser--ingroup Hadoop Hadoop

Change temporary directory permissions

chmod 777/tmp

Execute on HOST2:

VI conf/slaves

Increase host226

Ssh-copy-id-i. ssh/id_rsa.pub [Email protected]

Scp-r/home/hadoop/hadoop-1.1.2 [Email protected]:/home/hadoop/hadoop-1.1.2

Execute on HOST8:

VI conf/slaves

Increase host226

Ssh-copy-id-i. ssh/id_rsa.pub [Email protected]

Performed on host226:

hadoop-daemon.sh Start Datanode

hadoop-daemon.sh Start Tasktracker

Since then I went to verify:

Web page:

However click:

The Host2, Host6, and HOST8 under node column can appear like the following interface

and click Host9

Learn Hadoop and build Hadoop with some special problems

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.