windows上运行MapReduce出错(Failed to set permissions of path)
来源:互联网 发布:问卷数据怎么录入spss 编辑:程序博客网 时间:2024/05/17 05:08
今天在windows上搭建了hadoop1.1.2+eclipse的开发环境,在Run on hadoop时,控制台报了一个异常;异常信息大致为:
ERRORsecurity.UserGroupInformation: PriviledgedActionException as:lenovocause:java.io.IOException: Failed to set permissions of path:************************** to 0700
Exception in thread"main"java.io.IOException: Failed to set permissions of path: ***************** to0700
at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:689)
permissions很明显是和权限有关的问题;通过网上查阅资料发现了解决法案:
解决方案:
修改hadoop-core-1.1.2.jar包中的org.apache.hadoop.fs.FileUtil.checkReturnValue方法,把该方法的方法体去掉,编译FileUtil,把编译后的class文件替换掉hadoop-core-1.1.2.jar中的FileUtil.class文件。
0 0
- windows上运行MapReduce出错(Failed to set permissions of path)
- hadoop下运行mapreduce程序Failed to set permissions of path:的解决
- windows hadoop HDFS Failed to set permissions of path
- win7使用eclipse连接hadoop集群,运行mapreduce报错之Failed to set permissions of path
- hadoop Failed to set permissions of path:
- Hadoop Failed to set permissions of path
- Failed to set permissions of path:
- Hadoop Failed to set permissions of path
- windows下Eclipse操作MapReduce例子报错:Failed to set permissions of path: \tmp\hadoop-Jerome\mapred\staging\
- windows下:Failed to set permissions of path: \tmp\ \.staging to 0700
- Cygwin运行nutch报错:Failed to set permissions of path
- hadoop 运行java 清洗数据 报错Failed to set permissions of path: \tmp\...
- Win7 eclipse Hadoop Failed to set permissions of path .
- Win7 eclipse Hadoop Failed to set permissions of path
- Win7 eclipse Hadoop Failed to set permissions of path
- Hadoop Failed to set permissions of path 错误处理
- Win7 eclipse Hadoop Failed to set permissions of path
- Hadoop 出现 Failed to set permissions of path 的原因
- 初步学习Protected Mode(2)
- C/C++语言void及void指针深层探索----笛风读书笔记系列
- PHP字符编码绕过漏洞总结
- Ubuntu中Source Insight的使用
- 91无线回应高管流失和坏账:传闻不属实
- windows上运行MapReduce出错(Failed to set permissions of path)
- php正则表达式匹配中文
- http://www.cnblogs.com/scy251147/p/3566638.html
- C++ c_str() 和 临时变量
- 一招教你学会C C++混编
- 我的第一篇博客
- D - The Suspects
- 二叉搜索树的插入,搜索,删除
- ios--OC调用JS传递参数并获得返回值(实例)