hadoop下运行mapreduce程序Failed to set permissions of path:的解决
来源:互联网 发布:soylent 知乎 编辑:程序博客网 时间:2024/06/04 19:06
1.运行环境介绍
win7旗舰版,虚拟机vmware workstation 11下Centos6.2-32位,hadoop-1.1.2。
在运行mapreduce程序时会发生:Failed to set permissions of path:\tmp\hadoop-zhen\---错误。
2.错误格式截图如下:
3.出现原因:Windows下权限检查无法通过,才会出现这个错误。
4.解决办法:
读取问题时会发现,显示checkReturnValue方法报错。如下
at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:689)
在Hadoop源码中找到FileUtil.java文件,Ctrl+F显示出寻找框,并输入checkReturnValue方法名
找到checkRetuanValue方法,并注释掉。效果如下图。
5.完成以上步骤,在运行mapreduce程序时只是缺少了文件检查,并不会对运行结果有什么影响。
win7旗舰版,虚拟机vmware workstation 11下Centos6.2-32位,hadoop-1.1.2。
在运行mapreduce程序时会发生:Failed to set permissions of path:\tmp\hadoop-zhen\---错误。
2.错误格式截图如下:
3.出现原因:Windows下权限检查无法通过,才会出现这个错误。
4.解决办法:
读取问题时会发现,显示checkReturnValue方法报错。如下
at org.apache.hadoop.fs.FileUtil.checkReturnValue(FileUtil.java:689)
在Hadoop源码中找到FileUtil.java文件,Ctrl+F显示出寻找框,并输入checkReturnValue方法名
找到checkRetuanValue方法,并注释掉。效果如下图。
5.完成以上步骤,在运行mapreduce程序时只是缺少了文件检查,并不会对运行结果有什么影响。
1 0
- hadoop下运行mapreduce程序Failed to set permissions of path:的解决
- hadoop Failed to set permissions of path:
- Hadoop Failed to set permissions of path
- Hadoop Failed to set permissions of path
- Hadoop 出现 Failed to set permissions of path 的原因
- win7使用eclipse连接hadoop集群,运行mapreduce报错之Failed to set permissions of path
- 异常eclipse Hadoop Failed to set permissions of path的解决
- windows下Eclipse操作MapReduce例子报错:Failed to set permissions of path: \tmp\hadoop-Jerome\mapred\staging\
- windows上运行MapReduce出错(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
- windows hadoop HDFS Failed to set permissions of path
- 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
- Win7 eclipse Hadoop Failed to set permissions of path
- 欢迎使用CSDN-markdown编辑器
- 2016-01-19 FFC
- 使用Python处理目录(二):计算某个目录下特定文件类型中文件总行数
- 操作字符串的 C 函数
- myeclipse和输入法冲突的问题
- hadoop下运行mapreduce程序Failed to set permissions of path:的解决
- 按照层序,从左到右遍历
- unity基础开发 1. 射线&碰撞器的原理和用法
- Oracle12c中数据泵新特性之功能增强(expdp, impdp)
- C++学习之继承篇一(继承权限)
- 算法导论第三版第四章思考题
- SpringMVC 基于注解的Controller详解
- 阿里巴巴校招负责人揭秘面试中那些你应该知道的“潜规则”
- 刘汝佳习题练习