为什么 YARN 上有 mapreduce.jobtracker.address 配置? [英] Why there is a mapreduce.jobtracker.address configuration on YARN?
问题描述
YARN 是第二代 Hadoop,不再使用 jobtracker 守护进程,而是用资源管理器代替它.但是为什么在 mapred-site.xml hadoop 2 上有一个 mapreduce.jobtracker.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?
推荐答案
你是对的.在 YARN 中,jobtracker 不再存在.因此,作为客户端配置的一部分,您不必指定属性 mapreduce.jobtracker.address
.在 YARN 中,您应该在配置文件中将属性 mapreduce.framework.name
指定为 yarn
.您需要指定 yarn.resourcemanager.address
,而不是设置 mapreduce.jotracker.address.
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屋!