无法设置路径的权限:\ tmp [英] Failed to set permissions of path: \tmp

查看:122
本文介绍了无法设置路径的权限:\ tmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Failed to set permissions of path: \tmp\hadoop-MayPayne\mapred\staging\MayPayne2016979439\.staging to 0700 

我在执行MapReduce作业时遇到了这个错误,我使用的是hadoop 1.0.4,然后我知道这是一个已知问题我用1.2.0试了这个,但问题依然存在。我可以知道一个hadoop版本,他们已经解决了这个问题。

I'm getting this error when the MapReduce job executing, I was using hadoop 1.0.4, then I got to know it's a known issue and I tried this with the 1.2.0 but the issue still exists. Can I know a hadoop version that they have resolved this issue.

预先感谢大家

Thank you all in advance

推荐答案

我设法通过稍微改变hadoop-core jar文件来解决这个问题。在hadoop-core.jar文件中更改了FileUtil.java中的错误导致方法,并重新编译并包含在我的eclipse项目中。现在错误消失了。我建议你们每个人都这样做。

I managed to solve this by changing the hadoop-core jar file little bit. Changed the error causing method in FileUtil.java in hadoop-core.jar file and recompiled and included in my eclipse project. Now the error is gone. I suggest every one of you to do that.

这篇关于无法设置路径的权限:\ tmp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆