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------
答案 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>