Win7环境下通过eclipse连接hadoop1.2.1集群时,会遇到如下报错: Exceptioninthread"main"java.io.IOException:Failedtosetpermissionsofpath:\tmp\hadoop-Administrator\mapred\staging\Administrator-519341271\.stagingto0700 解决方案:修改并重编译FileUtil.java 最后打包到hadoop-core-1.2.1.jar