Hadoop-myeclipse installation Configuration

Source: Internet
Author: User

Configuration environment: hadoop-1.2.1,myeclipse,centos6.5

There are a lot of installation configuration information about Hadoop-eclipse on the website, but there are few things about how to configure Hadoop on MyEclipse. Since my computer is only loaded with myeclipse, I am here to record how to install the Hadoop-eclipse plugin with MyEclipse. In fact, the configuration on eclipse is quite similar.

Steps:

1) Restart MyEclipse by placing the Hadoop-eclipse-plugin-1.2.1.jar in the Dropins folder of the MyEclipse installation directory . You will notice that DFS Locations appears under Project Explorer. Indicates that the MYECLIPSE has identified the Hadoop-eclipse-plugin-1.2.1.jar plugin.

Note: Hadoop-eclipse-plugin-1.2.1.jar This jar package is not found in the Hadoop-1.2.1 contrib directory, it needs to be downloaded on the Internet, or it can be configured on its own.

2) Open the Window-->preferens and discover the Hadoop map/reduce option, stating that the plug-in installation was successful, configuring Hadoop installation directory to unzip the local Hadoop installation. (Note: If you want to download the Hadoop-1.2.1 under window and unzip it)

3) Choose Window-->show View-->others, choose the Elephant icon map/reduce, open the Map/reduce development environment, below a map/reduce location box.

The elephant Linux that appears in the picture is what I have already done.

4) Select the Map/reduce location tag and click on the icon at the far right of the label, the elephant icon on the right side of the gear icon to open the parameter Settings page.

Note: The parameter setting marked with the red box must be correct, first, location name is set to the hostname of Linux and can be viewed with hostname. Host is the Linux host user name. The port number of the portmapreduce on the left, the XML file that was previously configured for Hadoop under Linux, is configured according to the configured port number. The port number for HDFs on the right. After configuration, click Finish.

5) Click on advanced parameters to find the Hadoop.tmp.dir and modify the values configured in the Hadoop cluster core-site.xml.

6) then configure dfs.permssions in the advanced parameters, and modify it to false, as configured in the Hadoop cluster "Hdfs-site.xml", and change the value of Dfs.replication to 1.

In fact, the settings for these configuration information can be configured by referencing the contents of the red box in the http://linux.chaofn.org:50030/jobhistoryhome.jsp

7) When the configuration is complete, the following information appears in Project Explorer, indicating that the configuration was successful

Hadoop-myeclipse installation Configuration

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.