下载eclipse-jee-mars-1-macosx-cocoa-x86_64.tar
右键显示包内容,将hadoop-eclipse-plugin-2.6.0.jar拷入到刚显示的包的plugin文件夹中
打开eclipse,点击菜单Eclipse–偏好设置–Hadoop Map Reduce
解决eclipse控制台输入日志问题:
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
cp /usr/local/hadoop-2.6.0/etc/hadoop/log4j.properties ~/workspace/WordCount/bin/
后面是WordCount项目bin目录