hdfs权限检查 权限拒绝

 1 System.setProperty("HADOOP_USER_NAME", "hdfs对应目录的owner") 

配置此参数即可

猜你喜欢

转载自www.cnblogs.com/sunpengblog/p/11887014.html