PrepAway - Latest Free Exam Questions & Answers

which invocation correctly passes.mapred.job.name with a value of Example to Hadoop?

You need to run the same job many times with minor variations. Rather than hardcoding all job
configuration options in your drive code, you’ve decided to have your Driver subclass
org.apache.hadoop.conf.Configured and implement the org.apache.hadoop.util.Tool interface.
Indentify which invocation correctly passes.mapred.job.name with a value of Example to Hadoop?

PrepAway - Latest Free Exam Questions & Answers

A.
hadoop “mapred.job.name=Example” MyDriver input output

B.
hadoop MyDriver mapred.job.name=Example input output

C.
hadoop MyDrive –D mapred.job.name=Example input output

D.
hadoop setproperty mapred.job.name=Example MyDriver input output

E.
hadoop setproperty (“mapred.job.name=Example”) MyDriver input output

Explanation:
Configure the property using the -D key=value notation:
-D mapred.job.name=’My Job’
You can list a whole bunch of options by calling the streaming jar with just the -info argument
Reference: Python hadoop streaming : Setting a job name

One Comment on “which invocation correctly passes.mapred.job.name with a value of Example to Hadoop?


Leave a Reply

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