我正在使用kali linux,我是一个初学者。我安装了所有与hadoop相关的东西。当我运行start-all.sh时,我可以连接到http://localhost:50070/但不适用于localhost:8088
以下是我的文件配置:
root@SHUBHAM-PC:/usr/local/hadoop/conf# cat yarn-site.xml
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
</configuration>
root@SHUBHAM-PC:/usr/local/hadoop/conf# cat hdfs-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<!-- specify this so that running 'hadoop namenode -format'
formats the right dir -->
<name>dfs.name.dir</name>
<value>/usr/local/hadoop/cache/hadoop/dfs/name</value>
</property>
<property>
<name>dfs.data.dir</name>
<value>/usr/local/hadoop/cache/hadoop/dfs/data </value>
</property>
</configuration>
root@SHUBHAM-PC:/usr/local/hadoop/conf# cat mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>localhost:8021</value>
</property>
这个问题的解决办法是什么?
暂无答案!
目前还没有任何答案,快来回答吧!