Important Reference URL: http://www.powerxing.com/hadoop-build-project-using-eclipse/
The following points need to be noted in the configuration process:
1. Eclipse needs to download: Hadoop-common-2.7.3.jar and Hadoop-eclipse-plugin-2.7.0.jar to Win7 directory: E:\Eclipse64\eclipse\plugins ( Be sure to pay attention to the version).
2, WIN7 need to configure the Linux system with the matching Hadoop.dll and Winutils.exe files to the Win7 directory: E:\hadoop\hadoop-2.7.3\bin (must pay attention to the version of the corresponding).
3. The port of define Hadoop location->map/reduce (V2) master, which needs to be set in Eclipse, is in the Linux side Mapred-site.xml " Mapreduce.jobtracker.address the property port.
4, must be the Linux side of the Core-site.xml, Hdfs-site.xml and log4j.properties three files copied to the project src file directory.
5, the occurrence of permission denied error is not configured: Hadoop_home system variables. or add in Java Program: System.setproperty ("Hadoop.home.dir", "e:\\hadoop\\hadoop-2.7.3");
6. Note that the working directory in the HDFs that eclipse needs to operate is set to be readable and writable by all users: Hadoop fs-chmod-r 777/user/hadoop/hw2/