CCD-410 · Question #2
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…
The correct answer is C. hadoop MyDrive -D mapred.job.name=Example input output. 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 Python hadoop streaming : Setting a job name
Question
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?
Options
- Ahadoop "mapred.job.name=Example" MyDriver input output
- Bhadoop MyDriver mapred.job.name=Example input output
- Chadoop MyDrive -D mapred.job.name=Example input output
- Dhadoop setproperty mapred.job.name=Example MyDriver input output
- Ehadoop setproperty ("mapred.job.name=Example") MyDriver input output
How the community answered
(33 responses)- A3% (1)
- B3% (1)
- C73% (24)
- D15% (5)
- E6% (2)
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 Python hadoop streaming : Setting a job name
Topics
Community Discussion
No community discussion yet for this question.