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
Highlighted

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

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

Accepted Solutions
Highlighted

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

View solution in original post

3 REPLIES 3
Highlighted

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

View solution in original post

Highlighted

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

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

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

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

Don't have an account?
Coming from Hortonworks? Activate your account here