Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Explorer

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

avatar

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

View solution in original post

3 REPLIES 3

avatar

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

avatar

@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.

avatar

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