Job Tracker和Task Tracker不在Haddop中运行? [英] Job Tracker and Task Tracker not running in Haddop?

查看:126
本文介绍了Job Tracker和Task Tracker不在Haddop中运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的hadoop安装中,我没有找到mapred-site.xml文件,但它有mapred-site.xml.template。



我已将以下属性添加到mapred。 xml.template

 <配置> 
<属性>
<名称> mapred.job.tracker< / name>
< value> localhost:9001< /值>
< / property>
< / configuration>

我是否缺少任何内容?

core-site.xml

 < property> 
<名称> fs.default.name< /名称>
< value> hdfs:// localhost:9000< / value>
< / property>

hdfs-site.xml

 <属性> 
< name> dfs.replication< / name>
<值> 1< /值>
< / property>

有了这些配置:

  http:// localhost:50070 /:正在运行

http:// localhost:50060 /:未运行

http:// localhost: 50030 /:未运行


解决方案

Job Tracker和Task Tracker hadoop YARN的概念不同。您发布的链接仅适用于旧版的hadoop。在新版本的hadoop中,您可以监控正在执行的作业

  localhost:8088 

您将在其中找到新的hadoop的webUI。另外,如果您使用的是mapred-site.xml,则必须将mapred-site.xml.template重命名为mapred-site.xml。添加您想要的属性并重新启动系统。


In my hadoop installation i dont find mapred-site.xml file but it has mapred-site.xml.template.

I have added following property to mapred.xml.template

<configuration>
<property>
    <name>mapred.job.tracker</name>
    <value>localhost:9001</value>
</property>
</configuration>

Am i missing anything ?

core-site.xml

<property>
    <name>fs.default.name</name>
    <value>hdfs://localhost:9000</value>
</property>

hdfs-site.xml

<property>
    <name>dfs.replication</name>
    <value>1</value>
</property>

With these configurations:

http://localhost:50070/ : Running

http://localhost:50060/ : Not Running

http://localhost:50030/ : Not Running

解决方案

The Job Tracker and Task Tracker concepts are different in hadoop YARN. The links that you posted works only in old hadoop. In new version of hadoop you can monitor jobs being executed at

localhost:8088

where you will find the webUI for new hadoop. Also if you are using mapred-site.xml, you have to rename mapred-site.xml.template to mapred-site.xml. Add the properties that you want and restart the system.

这篇关于Job Tracker和Task Tracker不在Haddop中运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆