Window under Eclipse Configure hadoop1.0.3 cluster

Source: Internet
Author: User

Pre-order: Because in the widow with the Eclipse hadoop2.2.0 running program is not successful, temporary solution on the Internet, the compromise of the next, connected hadoop1.0.3 pseudo-distributed

One. Use of the environment and tools

1.Eclipse is Indio version, this can be downloaded by the official website

2.Eclipse Hadoop plugin: Hadoop-eclipse-plugin-1.0.3.jar,

: http://download.csdn.net/detail/lifuxiangcaohui/7963261

Two. Installing hadoop1.0.3 pseudo-distributed

1. Install SSH free Login

Install JDK and so on: View my early installation hadoop2.20 notes (both run successfully): http://blog.csdn.net/lifuxiangcaohui/article/details/21635791

2. Configure the appropriate configuration file for hadoop1.0.3:

2.1 Modifying the Hadoop core profile core-site.xml, configuring the address and port number for HDFs
VI Conf/core-site.xml
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
2.2 Modifying the configuration of HDFs in Hadoop, modifying replication
VI Conf/hdfs-site.xml
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
2.3 Modify the configuration file for MapReduce in Hadoop, configure the address and port of Jobtracker
VI Conf/mapred-site.xml
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:9001</value>
</property>
</configuration>


3 format Hadoop file system HDFs
Bin/hadoop Namenode-format
4. Start Hadoop
bin/start-all.sh


5. Finally, verify that Hadoop is installed successfully. Open the browser and enter the URL separately:
http://localhost:50030 (Web page for MapReduce)
http://localhost:50070 (HDFS Web page)
If you can view it, the installation is successful.

Three. Configure local Eclipse

Can see I reproduced a super-detailed article: http://blog.csdn.net/lifuxiangcaohui/article/details/39500131


Due to the limited time, write the article some rough and lazy, please understand



Window under Eclipse Configure hadoop1.0.3 cluster

Related Article

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.