在windows下,使用hadoop-1.0.4自带的hadoop-core-1.0.4.jar时,会抛出权限异常:cause:java.io.IOException: Failed to set permissions of path: \tmp\hadoop-Administrator\mapred\staging\Administrator-519341271\.staging to 0700
上述jar包,是修改了源码FileUtil.java后,编译得到的hadoop-core-1.0.4.jar在win平台不会出现权限问题
1