Chinaunix

标题: java.io.FileNotFoundException: /dfs/nn/current/VERSION (Permission denied) [打印本页]

作者: moperyblue    时间: 2016-12-31 15:59
标题: java.io.FileNotFoundException: /dfs/nn/current/VERSION (Permission denied)
用cdh搭建hadoop环境的时候报如下错误,请教如何解决?
java.io.FileNotFoundException: /dfs/nn/current/VERSION (Permission denied)
作者: moperyblue    时间: 2016-12-31 18:17

解决方法:
chown hdfs:root -R /dfs/nn/*




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2