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 3 Question 64 Discussion

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

Problem Scenario 94 : You have to run your Spark application on yarn with each executor 20GB and number of executors should be 50.Please replace XXX, YYY, ZZZ

export HADOOP_CONF_DIR=XXX

./bin/spark-submit \

-class com.hadoopexam.MyTask \

xxx\

-deploy-mode cluster \ # can be client for client mode

YYY\

222 \

/path/to/hadoopexam.jar \

1000

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Amie
3 months ago
Haha, 50 executors? I hope the cluster can handle all that horsepower! But seriously, this looks like a solid solution. Just need to make sure the HADOOP_CONF_DIR is set correctly.
upvoted 0 times
...
Rosio
3 months ago
Ah, I see what they're going for. This seems like a straightforward setup for a Spark application on YARN. The only thing I'd double-check is the version of Spark being used, just to make sure the options are still valid.
upvoted 0 times
Tanja
2 months ago
User 2: Yeah, that looks right. It's a pretty standard setup for running Spark on YARN.
upvoted 0 times
...
Jennie
2 months ago
User 1: I think the solution is A) -master yarn, -executor-memory 20G, -num-executors 50
upvoted 0 times
...
...
Isaac
3 months ago
I agree with Craig, A seems to be the correct solution based on the given scenario.
upvoted 0 times
...
Craig
4 months ago
But A makes more sense because it matches the requirements given in the question.
upvoted 0 times
...
Anglea
4 months ago
I disagree, I believe the answer is B.
upvoted 0 times
...
Nieves
4 months ago
Looks good! The solution should work just fine. Though, I wonder if the 20GB per executor will be enough for our data processing needs.
upvoted 0 times
Dean
3 months ago
User 2: I agree. We can always adjust the executor memory if needed.
upvoted 0 times
...
Lashon
3 months ago
User 1: Solution A looks good. Let's try it out.
upvoted 0 times
...
...
Craig
4 months ago
I think the answer is A.
upvoted 0 times
...

Save Cancel