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,020 points
415 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,290 points
0 votes
answered Feb 6 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
43 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
119 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 in Big Data Hadoop by Gitika
• 25,300 points
67 views
0 votes
1 answer
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,290 points
756 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,290 points
364 views
0 votes
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,490 points
2,370 views
0 votes
10 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
12,061 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,290 points
103 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,290 points
1,278 views