使用hadoop eclipse-plugin删除hdfs文件报错,错误信息:
?
Unable to delete file?
....
org.apache.hadoop.security.AccessControlException: Permission denied: user =test , access=WRITE, inode="pokes":hadoop:supergroup:rwxr-xr-x
?
解决:打开插件“Map/Reduce Location”,选中一个Location,打开“Advance parameters” Tab,找到"hadoop.job.ugi",可以看到我这里设置是:“test,Tardis”,修改为“hadoop, Tardis”,保存。
?
one more try, it works.
?
没生效?重启Eclipse再试试。
?
-- end --