exam questions

Exam CCD-410 All Questions

View all questions & answers for the CCD-410 exam

Exam CCD-410 topic 1 question 14 discussion

Actual exam question from Cloudera's CCD-410
Question #: 14
Topic #: 1
[All CCD-410 Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago