Why there is a mapreduce.jobtracker.address configuration on YARN?

偶尔善良 提交于 2020-01-11 07:09:36

问题


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?


回答1:


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.




回答2:


setting yarn.resourcemanager.address is not mandatory:

refer following link which explains migration from MR1 to MR2

https://www.cloudera.com/documentation/enterprise/5-4-x/topics/cdh_ig_mapreduce_to_yarn_migrate.html



来源:https://stackoverflow.com/questions/29680155/why-there-is-a-mapreduce-jobtracker-address-configuration-on-yarn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!