Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cloudera Exam CCA175 Topic 4 Question 57 Discussion

Actual exam question for Cloudera's CCA175 exam
Question #: 57
Topic #: 4
[All CCA175 Questions]

Problem Scenario 92 : You have been given a spark scala application, which is bundled in jar named hadoopexam.jar.

Your application class name is com.hadoopexam.MyTask

You want that while submitting your application should launch a driver on one of the cluster node.

Please complete the following command to submit the application.

spark-submit XXX -master yarn \

YYY SSPARK HOME/lib/hadoopexam.jar 10

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Twila
7 days ago
Hmm, I'm still a bit unsure. Maybe we should double-check the Spark documentation to be sure?
upvoted 0 times
...
Gail
9 days ago
Good point. I think the 'deploy-mode cluster' option is only necessary if you want to explicitly specify that the driver should run on a cluster node, rather than on your local machine.
upvoted 0 times
...
Ngoc
10 days ago
But wait, doesn't the 'spark-submit' command automatically launch the driver on a cluster node by default? Do we really need the 'deploy-mode cluster' part?
upvoted 0 times
...
Scarlet
11 days ago
Yeah, I agree. The 'deploy-mode cluster' option will ensure the driver runs on a cluster node, which is what the question is asking for.
upvoted 0 times
...
Fatima
13 days ago
Okay, let's think this through. The question says we want to launch the driver on one of the cluster nodes, so the 'deploy-mode cluster' option seems like the right choice.
upvoted 0 times
...
Cornell
15 days ago
Hmm, this question seems straightforward enough, but I'm a bit unsure about the 'deploy-mode' part. Does that mean the driver will run on a cluster node or on my local machine?
upvoted 0 times
...

Save Cancel