Why we are configuring mapred.job.tracker in YARN?

0 votes

With the introduction of YARN JobTracker and TaskTracker was replaced with Resource Manager and NodeManager. But, in some of the tutorials for installing Hadoop 2.6.0 or 2.7.0 or 2.8, I have noticed that they are still setting mapreduce.framework.name property to yarn. Besides this, they are also setting mapred.job.tracker property.

I checked the official doc and I found the the description for mapred.job.tracker property as

"The host and port that the MapReduce job tracker runs at. If "local", then jobs are run in-process as a single map and reduce task."

Now, I am curious and confused at the same time about the fact that why we need to configure JobTracker in case of YARN?

Please let me know the reason behind this.

Mar 29, 2018 in Big Data Hadoop by nitinrawat895
• 10,870 points
350 views

1 answer to this question.

0 votes

I really dont know the reason behind setting job tracker in YARN w.r.t. The tutorials that you have visited. To be honest, I think they have not read about YARN and are just following their old habit of configuring job tracker. One other plausible reason for doing so to run the hadoop without YARN, just for sake of back up (may be - just a hunch).

Strictly speaking, the JobTracker and TaskTracker does not come with YARN. Even if add theses properties, they will be ignored. In fact the properties has been changed. Here are the new properties w.r.t. Resource manager (JobTracker) and node manager (TaskTracker):

yarn.resourcemanager.address to replace mapred.jobtracker.address.

answered Mar 29, 2018 by Ashish
• 2,630 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Why minimum 3 Journal Nodes are required in Hadoop HA architecture?

Initially in Hadoop 1.x, the NameNode was ...READ MORE

answered Apr 20, 2018 in Big Data Hadoop by kurt_cobain
• 9,310 points
2,894 views
0 votes
2 answers

Why we use --split by command in Sqoop?

In simple explanation, When specify SPLIT_BY only ...READ MORE

answered Feb 6 in Big Data Hadoop by Ramji Sridaran
2,436 views
0 votes
1 answer

Why we use 'help' command in Hadoop Sqoop?

Hi, The command sqoop help lists the tools ...READ MORE

answered Feb 4 in Big Data Hadoop by MD
• 7,430 points
65 views
0 votes
1 answer

What are the different daemons in yarn?

Hi, The different Daemons in YARN are:- Resources Manager:- Runs ...READ MORE

answered Apr 23, 2019 in Big Data Hadoop by Gitika
• 26,270 points
553 views
0 votes
1 answer

Apache Hadoop Yarn example program

You can go to this location $Yarn_Home/share/hadoop/mapreduce . You'll ...READ MORE

answered Apr 4, 2018 in Big Data Hadoop by nitinrawat895
• 10,870 points
290 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,870 points
4,515 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,870 points
640 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
25,431 views
0 votes
1 answer

Not able to start Job History Server in Hadoop 2.8.1

You have to start JobHistoryServer process specifically ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,630 points
709 views
0 votes
1 answer

ApplicationMaster in YARN Architecture

Let me help you with your confusion: YARN ...READ MORE

answered May 7, 2018 in Big Data Hadoop by Ashish
• 2,630 points
337 views