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.

Spark SaveAsTextFile returns error - Py4JJaveError

Spark SaveAsTextFile returns error - Py4JJaveError

New Contributor

I am new to this and taking a course to learn spark. While completing one of the exercise - Below is the github code link. I am running into error when I try to saveText file. Screen shots of the error attached. 

 

Last screen shot is the error I see post installing java-jdk

 

Github code link

 

1_error.png2_error.png3_error.png