Hadoop query regarding setJarByClass method of Job class

0 votes
Can anyone help in understanding the setJarByClass in MapReduce program? Is it used to create a JAR file of the give class?
Apr 15, 2018 in Big Data Hadoop by coldcode
• 2,050 points
831 views

2 answers to this question.

0 votes
setJarByClass method basically tells the nodes where tp look for Mapper & Reducer classes.

It is not the one who creates the JAR of the given class. Rather it resolves the jar which has the respective class.
answered Apr 15, 2018 by Shubham
• 13,380 points
0 votes
answered Feb 6, 2019 by siri
Thanks siri..
Hi @Siri,

We appreciate you sharing the link of a valuable resource but we'd appreciate more if you explain your answer along with it.

Related Questions In Big Data Hadoop

0 votes
1 answer

submitJob method in JobClient of Hadoop throws null pointer

I had this problem as well. But when ...READ MORE

answered Sep 18, 2018 in Big Data Hadoop by Neha
• 6,280 points
125 views
0 votes
1 answer

What is the usage of Configured class in Hadoop programs?

Configured is a default implementation of the Configurable interface - ...READ MORE

answered Nov 22, 2018 in Big Data Hadoop by Frankie
• 9,810 points
371 views
0 votes
1 answer

What is the role of Job tracker Hadoop?

Job tracker's function is resource management, tracking ...READ MORE

answered Apr 9, 2019 in Big Data Hadoop by Gitika
• 33,930 points
941 views
0 votes
1 answer

Method to schedule the number of Mappers and Reducers in a Hadoop MapReduce Tsk.

The number of Mapper tasks for a ...READ MORE

answered Apr 25, 2019 in Big Data Hadoop by ravikiran
• 4,600 points
117 views
0 votes
1 answer

Moving files in Hadoop using the Java API?

I would recommend you to use FileSystem.rename(). ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,380 points
1,366 views
0 votes
1 answer

Hadoop giving java.io.IOException, in mkdir Java code.

I am not sure about the issue. ...READ MORE

answered May 3, 2018 in Big Data Hadoop by Shubham
• 13,380 points
883 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,920 points
5,524 views
+1 vote
11 answers

hadoop fs -put command?

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

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

How to run example codes of Hadoop Definitive Guide book?

You will find multiple git repositories where ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 13,380 points
286 views
0 votes
1 answer

Best way of starting & stopping the Hadoop daemons with command line

First way is to use start-all.sh & ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,380 points
3,836 views