为什么YARN上有mapreduce.jobtracker.address配置? [英] Why there is a mapreduce.jobtracker.address configuration on YARN?
问题描述
你是对的。在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屋!