Setup Hadoop Location in Eclipse
Next step is to configure Hadoop location in the Eclipse environment.
- Launch the Eclipse environment.
- Open Map/Reduce perspective by clicking on the open perspective icon (
), select "Other" from the menu, and then select "Map/Reduce" from the list of perspectives.

-
After you switched to the Map/Reduce perspective. Select the Map/Reduce Locations tab located at the bottom portion of your eclipse environment. Then right click on the blank space in that tab and select "New Hadoop location...." from the context menu. You shall see the dialog box similar to the one shown below.

Setting up new Map/Reduce location
- Fill in the following items, as shown on the figure above.
- Location Name -- localhost
- Map/Reduce Master
- Host -- localhost
- Port -- 9101
- DFS Master
- Check "Use M/R Master Host"
- Port -- 9100
- User name -- User
Then press the Finish button.
-
After you closed the Hadoop location settings dialog you should see a new location appearing in the "Map/Reduce Locations" tab.
- In the Project Explorer tab on the lefthand side of the eclipse window, find the DFS Locations item. Open it up using the "+" icon on the left side of it, inside of it you should see the localhost location reference with the blue
elephant icon. Keep opening up the items below it until you see something like the image below
Browsing HDFS location
Now this step is completed you can move on to the next step.
If you have questions comments suggestions regarding this tutorial you can post them here or you can write me an email to tutorials AT v-lad.org.