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 plugin

The next step is to install and check the Hadoop plugin for eclipse.

  1. Open the 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 side of the screen.
  3. Open another explorer window, either through "My Computer" icon or by using the "Start -> Run" menu. Navigate to your Eclipse installation and then open the "plugin" folder of your Eclipse installation.
  4. Copy the file "hadoop-0.19.1-eclipse-plugin.jar, from the Hadoop eclipse plugin folder to the Eclipse plugins folder. As shown on 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 you IDE should open a new perspective that looks similar to the image below.

    Example of using ssh-host-setup

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