[i], environmental parameters
- eclipse-java-kepler-sr2-linux-gtk-x86_64.tar.gz//Now change to eclipse-jee-kepler-sr2-linux-gtk-x86_64.tar.gz
- Hadoop1.0.3
- Java 1.8.0
- Ubuntu 12.04 64bit
[ii], installation configuration
1, copy the generated Hadoop-eclipse-plugin-1.0.3.jar to the eclipse/plugins path, restart Eclipse.
2. In the Eclipse menu click Windows→show view→other ..., select the "Show view" dialog box to open, the search box input "Map", will find the item "Map/reduce Locations", click "OK" button:
3, the console will be more than a "Map/reduce Locations" tab page:
4. In the "Map/reduce Locations" tab, click on the icon or in the blank place right click, select "New Hadoop location ...", Pop Up the dialog "new Hadoop location ...", configure the following:
- Location Name: Pick a name, like hadoop2.2.0.
- Map/reduce (V2) Master: filled in according to the
hdfs-site.xml
values in the configuration dfs.datanode.ipc.address
- DFS master:name node IP and port, based on the value of the
core-site.xml
configured Fs.defaultfs in
After the configuration is successful, you can see a message similar to the following:
5. Open "Preferences" dialog, search "Hadoop", find "Hadoop map/reduce", click "Browse ..." Configure the path to Hadoop, such as my path is/home/hadoop/hadoop-1.0.3
Reference Blog: http://www.micmiu.com/bigdata/hadoop/hadoop2-x-eclipse-plugin-build-install/
Installing the Hadoop series-eclipse Plugin plugin compiling the installation configuration