Eclipse遠程鏈接hadoop時 報 Permission denied:

用Eclipse遠程鏈接hadoop時報org.apache.hadoop.security.AccessControlException: Permission denied: user=DrWho, access=READ_EXECUTE, inode="system":hadoop:supergroup:rwx-wx-wx錯誤,解決方法:node

     在hdfs-site.xml 中取消權限校驗,即加入如下配置:apache

<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>oop

相關文章
相關標籤/搜索