Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

In HDPCD-Spark exam, how to save the source code?

Solved Go to solution

In HDPCD-Spark exam, how to save the source code?

New Contributor

I've learned that in HDPCD-Spark exam, all tasks have to be solved on spark-shell (or python shell). In this case, my queries are:

1) Do i need to save the source code somewhere?

2) If the above query's answer is YES, then, where & how to save the source code for each task?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: In HDPCD-Spark exam, how to save the source code?

Hello, Abhijit,

Yes the exam instructions ask you to save the scripts in a folder under the current user directory in the exam Desktop.

The exam will tell you the exact location of where to save it.

Normally you would write your script using vi or gedit (available in exam environment) and then save it in the correct location.

Hope that this helps

3 REPLIES 3

Re: In HDPCD-Spark exam, how to save the source code?

Hello, Abhijit,

Yes the exam instructions ask you to save the scripts in a folder under the current user directory in the exam Desktop.

The exam will tell you the exact location of where to save it.

Normally you would write your script using vi or gedit (available in exam environment) and then save it in the correct location.

Hope that this helps

Re: In HDPCD-Spark exam, how to save the source code?

New Contributor

@William Gonzalez: Are we supposed to just write the scala code that will run in spark shell or do we need to create object/class and define SparkContext, SQLContext etc.

Highlighted

Re: In HDPCD-Spark exam, how to save the source code?

Yes, write the scala code that will run in spark shell