Support Questions

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

How To Fix – “Py4JJavaError: An Error Occurred While Calling oxx.showString” in Spark.

avatar
New Contributor

Previous issue was 

Py4JJavaError: An error occurred while calling oxxxx.collectToPython.

 

2 REPLIES 2

avatar
Super Collaborator

Hello @ISC 

 

Thanks for using Cloudera Community. Based on the Post, You are experiencing an Error as shared while using Python with Spark. We shall need full trace of the Error along with which Operation cause the same (Even though the Operation is apparent in the trace shared). Along with the full trace, the Client used (Example: pySpark) & the CDP/CDH/HDP release used. 

 

The above details would help us review your Issue & proceed accordingly.

 

Regards, Smarak

avatar
New Contributor

java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)

Hadoop
Hadoop 3.0.0-cdh6.2.1

 

Version Spark
version 2.7.15 (default, May 1 2018 23:32:55)

 

cdh6.2.1