PrepAway - Latest Free Exam Questions & Answers

which is the correct way of submitting the job to the cluster?

Given a Mapper, Reducer, and Driver class packaged into a jar, which is the correct way of
submitting the job to the cluster?

PrepAway - Latest Free Exam Questions & Answers

A.
jar MyJar.jar

B.
jar MyJar.jar MyDriverClass inputdir outputdir

C.
hadoop jar MyJar.jar MyDriverClass inputdir outputdir

D.
hadoop jar class MyJar.jar MyDriverClass inputdir outputdir

Explanation:
Example:

Run the application:
$ bin/hadoop jar /usr/joe/wordcount.jar org.myorg.WordCount /usr/joe/wordcount/input
/usr/joe/wordcount/output

4 Comments on “which is the correct way of submitting the job to the cluster?


Leave a Reply

Your email address will not be published. Required fields are marked *