hadoop--installation 1.2. Version 1

Source: Internet
Author: User

The first step is to select the tar.gz of the Hadoop version you want to install and extract the compressed files to the specified directory.

The second step, create a folder to hold the data, the name of this folder can be self-command, but to include three sub-folders (these three subfolders, can be separated, but generally we put them in the same folder)

Of these three folders, where data (the Datanode node is used, the contents of the storage is saved) is 755, the other is 777.

The third step, set the parameters

Set hadoop-env.sh content

Set Core-site.xml content

Set Hdfs-site.xml file contents

Set Mapred-site.xml content

Set Masters File contents

Set Slaves file contents

Fourth step, format Hadoop namenode

Execute./bin/hadoop Namenode-format, enter y during execution, and see success for success.

Fifth step, start the Hadoop cluster

./bin/start-all.sh

After start-up through the JPS can be found,

Among them see Datanode, Secondarynamenode, NameNode, Tasktracker, Jobtracker five.

You can also view the startup situation through a Web page:

Finally, close the cluster

stop-all.sh

hadoop--installation 1.2. Version 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.