Hadoop:我无法连接到localhost:8088(纱线资源管理器)

时间:2017-06-24 11:03:12

标签: hadoop yarn

我正在使用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>

解决方案是什么?

0 个答案:

没有答案