Hadoop pseudo Distribution

Source: Internet
Author: User
Tags hadoop fs

CD/hoperun

Ln-s hadoop-0.20.2 hadoop

Ln-s jdk1.6.0 _ 21 JDK


VI/hadoop/CONF/hadoop-env.sh

Export java_home =/hoperun/JDK

VI/hadoop/CONF/core-site.xml

<Property>

<Name> fs. Default. Name </Name>

<Value> HDFS :/// localhost: 9000 </value>

</Property>

VI/hadoop/CONF/hdfs-site.xml

<Property>

<Name> DFS. Replication </Name>

<Value> 1 </value>

</Property>

VI/hadoop/CONF/mapred-site.xml

<Property>

<Name> mapred. Job. Tracker </Name>

<Value> localhost: 9001 </value>

</Property>


CD; ssh-keygen

CP. Ssh/id_rsa.pub. Ssh/authorized_keys

SSH localhost

CD/hoperun/hadoop

Bin/hadoop FS-format

Bin/start-all.sh

/Hoperun/JDK/bin/JPs

6810 tasktracker

JPS 6849

6443 namenode

6545 datanode

6641 secondarynamenode

6713 jobtracker


Netstat-nltp | grep Java

TCP 0 0: FFFF: 127.0.0.1: 9000: * Listen 6443/Java

TCP 0 0: FFFF: 127.0.0.1: 9001: * Listen 6713/Java


==================================




This article is from the blog "Xiao Cui's lab notes" and will not be reproduced!

Hadoop pseudo Distribution

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.