为什么YARN上有mapreduce.jobtracker.address配置? [英] Why there is a mapreduce.jobtracker.address configuration on YARN?

查看:1076
本文介绍了为什么YARN上有mapreduce.jobtracker.address配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

YARN是Hadoop的第二代,它不再使用jobtracker守护进程,并将其替换为资源管理器。但为什么在mapred-site.xml hadoop 2上有一个mapreduce.jobtracker.address属性?解析方案

你是对的。在YARN中,jobtracker不再存在。因此,作为客户端配置的一部分,您不必指定属性 mapreduce.jobtracker.address 。在YARN中,您应该在配置文件中指定属性 mapreduce.framework.name yarn 。您不需要设置mapreduce.jotracker.address,而需要指定 yarn.resourcemanager.address

YARN is the Hadoop second generation that not use the jobtracker daemon anymore, and substitute it with resource manager. But why, on mapred-site.xml hadoop 2 there is an mapreduce.jobtracker.address property?

解决方案

You are correct. In YARN, jobtracker no longer exists. So as part of client configuration you don't have to to specify the property mapreduce.jobtracker.address. In YARN, you should specify the property mapreduce.framework.name to yarn in the config file. Instead of setting up mapreduce.jotracker.address, you need to specify yarn.resourcemanager.address.

这篇关于为什么YARN上有mapreduce.jobtracker.address配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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