无法打开hadoop localhost:9000

时间:2016-06-21 11:15:30

标签: hadoop

Hadoop正在localhost:50070上运行。 jps的输出显示:

28236 TaskTracker
5223  Jps
28061 JobTracker
27955 SecondaryNameNode
27803 DataNode
27648 NameNode

但猪脚本没有从localhost:50070获得输入。

需要localhost:9000并显示:

can not found
localhost:9000

它还会给数据存储带来错误:

org.apache.hadoop.security.AccessControlException: Permission denied: user=webuser, access=READ_EXECUTE, inode="system":hduser:supergroup:rwx------

1 个答案:

答案 0 :(得分:0)

hdfs-site.xml中的权限更改为false以消除以下错误

  

权限被拒绝:user = webuser,access = READ_EXECUTE,   inode =“system”:hduser:supergroup:rwx ------ -

 <property>
    <name>dfs.permissions.enabled</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>