Linux Server pseudo distribution mode installation hadoop-1.1.2

Source: Internet
Author: User

1: Environment Preparation

1 Linux servers, Hadoop installation packages (Apache official website download) jdk1.6+2: Install the JDK, configure the environment variables (etc/profile), and java-version test the next step correctly. 3: Configure SSH password-free login CD ~ ssh-keygen-t RSA generate key, located in ~/.ssh directory

Cp~/.ssh/id_rsa.pub ~/.ssh/authorized_keys theid_rsa.pub Public key file CP to Authorized_keys ssh localhost login test   

Note: SSH here is only single-machine mode (pseudo-distribution) 4: Install Hadoop TAR-ZXVF hadoop-1.1.2 5: Configure Hadoop Several important configuration files (Conf directory to extract the completed) a): hadoop-env.sh Specify the current environment JDK security Loading catalogue exportjava_home=/opt/java/jdk1.7b): Core-site.xml

c):hdfs-site.xml
d): mapred-site.xml
All files saved in effect 5: formatted HDFs bin/hadoop Namenode-format
6: Start Hadoop bin/start-all.sh
7:JPS View process 8:web mode access 50070 and 50030 ports http://192.168.0.111:50070 http://192.168.0.111:50030


Linux Server pseudo distribution mode installation hadoop-1.1.2

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.