Setup Hadoop Location in Eclipse

Posted on January 21, 2012. Filed under: Uncategorized |

Next step is to configure Hadoop location in the Eclipse environment.

  1. Launch the Eclipse environment.
  2. 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.
  3. After switching to the Map/Reduce perspective, select the Map/Reduce Locations tab located at the bottom of the Eclipse environment. Then right click on the blank space in that tab and select “New Hadoop location….” from the context menu. You should see a dialog box similar to the one shown below.
    Setting up new Map/Reduce location
  4. 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.

  5. After closing the Hadoop location settings dialog you should see a new location in the “Map/Reduce Locations” tab.
  6. In the Project Explorer tab on the left hand side of the Eclipse window, find the DFS Locations item. Open it using the “+” icon on its left. Inside, you should see the localhost location reference with the blue elephant icon. Keep opening the items below it until you see something like the image below.
  7. Browsing HDFS location
You can now move on to the next step.

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: