Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to connect eclipse to hadoop2.6.0 under windows7

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to connect eclipse to hadoop2.6.0 under windows7". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to connect eclipse to hadoop2.6.0 under windows7.

Compile the eclipse plug-in

Preparation tool: ant,eclipse,hadoop2.6.0, plug-in compilation package

Plug-in compilation package acquisition address: https://github.com/winghc/hadoop2x-eclipse-plugin

Download the zip package and extract the file.

In the\ master\ hadoop2x-eclipse-plugin-master\ src\ contrib\ eclipse-plugin directory of the extracted file

Open build.xml and modify

For

Failure to remove it may cause ant to be stuck at ivy-retrieve-common: when compiling.

Execute the ant command in the\ master\ hadoop2x-eclipse-plugin-master\ src\ contrib\ eclipse-plugin directory of the extracted file

The local directory of eclipse and the local directory of hadoop are filled in according to their actual location

Compiled successfully; the plug-in generation address is at

Under the decompressed file:\ master\ hadoop2x-eclipse-plugin-master\ build\ contrib\ eclipse-plugin

2.eclipse installs the plug-in and configures

Copy the generated hadoop-eclipse-plugin-2.6.0.jar to the plugins directory under eclipse

Start eclipse

Configure the hadoop installation directory

Window-> preference-> hadoop Map/Reduce-> Hadoop installation directory

Configure the Map/Reduce view

Window-> Open Perspective-> other- > Map/Reduce-> Click "OK"

Windows → show view → other- > Map/Reduce Locations- > Click "OK"

Pay attention to start the local telnet service

Check whether http://master:50070 can be accessed, that is, the hdfs management interface. Master is the IP address of master.

Open the baby elephant for configuration

The configuration end point is the location indicated by the four arrows shown in the diagram, Host: IP for master, port number you configured, port number of DFS Master, port number configured for you, User name: this piece I refer to other papers, it is said that according to the name of hadoop, I changed the user name of win7 to hadoop, and then filled in the hadoop.

At this point, I believe you have a deeper understanding of "how to connect eclipse to hadoop2.6.0 under windows7". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report