1. Introduction
  2. Prerequistes
  3. Set Environment Variables
  4. Setup SSH daemon
  5. Download hadoop and place it in the home directory.
  6. Unpack hadoop
  7. Configure Hadoop
  8. Format the namenode
  9. Setup hadoop plugin
  10. Start the cluster
  11. Setup hadoop location
  12. Upload data
  13. Create and run a test project.
Bookmark and Share

Install Hadoop plug-in

The next step is to install and check the Hadoop plug-in for Eclipse.

  1. Open a new Cygwin window and execute the following commands:
    cd hadoop-0.19.1
    cd contrib
    cd eclipse-plugin
    explorer .
    Navigate to Hadoop eclipse plugin folder

  2. Shrink the newly popped window and move it to the right of the screen.
  3. Open another Explorer window either through "My Computer" icon or by using the "Start -> Run" menu. Navigate to the Eclipse installation and open the "plugins" folder.
  4. Copy the file "hadoop-0.19.1-eclipse-plugin.jar" from the Hadoop eclipse-plugin folder to the Eclipse plugins folder as shown in the figure below.

    Copy Hadoop Eclipse Plugin

  5. Close both explorer windows
  6. Start Eclipse
  7. Click on the open perspective icon ,which is usually located in the upper-right corner the eclipse application. Then select Other from the menu.
  8. Select Map/Reduce from the list of perspectives and press "OK" button.
  9. As a result your IDE should open a new perspective that looks similar to the image below.

    Eclipse Map/Reduce Perspective

Now that the we installed and configured hadoop cluster and eclipse plugin i's a time to test the setup by running a simple project.



Bookmark and Share