(3) Hadoop+eclipse environment construction under windows

Source: Internet
Author: User

(1) Environmental description

Hadoop cluster environment I've built and worked on my virtual machines (see the top 2 articles), and now I want to build a hadoop+eclipse development environment under Windows.


(2) InstallationHadoop-eclipse-plugin-1.1.2.jar plug-in

Hadoop-eclipse-plugin-1.1.2.jar This plugin can be compiled by themselves, or directly to the online download. I am downloading the installation directly on the Internet.

Once downloaded, place the Hadoop-eclipse-plugin-1.1.2.jar under the Plugins folder in the Eclipse installation directory. Then restart Eclipse.

Select the Prefernece option under the Window menu to see the Hadoop map/reduce option on the right, indicating that the plug-in installation was successful.


(3) Add Hadoop folder path

The Prime Minister unzipped the downloaded hadoop-1.1.2.tar.gz source package onto a disk.

To launch Eclipse, click on the Window menu bar to select the Prefernece option, click on the Hadoop map/reduce option on the left, and enter the Hadoop-1.1.2.tar.gz folder location in the right input box .



(4) Configuring Hadoop links

Select the other option under the Show View option under the Window menu bar and select the map/reduce locations option in the box that pops up.


This is what you'll see in Eclipse. Map/reduce Locations Options:


Right-click to select New Hadoop Locations.

Host is the address of your master host, port is the port number, and user name is your login.


After clicking Finish, you will be connected to your Hadoop.


This is when you can upload or download files to Hadoop.


If uploading or downloading fails, take a look at the following article. I solved this by adding Java_home=d:\program files\java\jdk1.7.0_51 this system variable.

http://www.huqiwen.com/2013/07/18/hdfs-permission-denied/



Note: I am also just starting to learn Hadoop, may be some of the article is incomplete or wrong place, but also ask you a lot of advice, but also hope to exchange learning, and promote mutual improvement.






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.