无法打开hadooplocalhost:9000

8ehkhllq  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(339)

hadoop正在运行 localhost:50070 . 输出 jps 显示:

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

但pig脚本并没有从 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------
o2rvlv0m

o2rvlv0m1#

更改中的权限 hdfs-site.xml 作为 false 为了消除下面的错误
权限被拒绝:user=webuser,access=read\u 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>

相关问题