现在的位置: 首页 > 综合 > 正文

在Eclipse配置hadoop的开发环境出现org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security

2013年10月07日 ⁄ 综合 ⁄ 共 482字 ⁄ 字号 评论关闭

在Eclipse配置hadoop的开发环境出现org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException异常

 

解决方法是,在conf/hdfs-site.xml中设置dfs.permissions的值为false,如:

 

<property>
    <name>dfs.permissions</name>
    <value>false</value>
    <description>
       If "true", enable permission checking in HDFS.
       If "false", permission checking is turned off,
       but all other behavior is unchanged.
       Switching from one parameter value to the other does not change the mode,
       owner or group of files or directories.
    </description>
 </property> 

 

抱歉!评论已关闭.