Skip to main content
ISC
Silver ⭐️
Apr 8, 2022 1:53 AM UTC
Question

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

Previous issue was 

Py4JJavaError: An error occurred while calling oxxxx.collectToPython.

 

2 replies

smdas
Gold ⭐️⭐️
Gold ⭐️⭐️
Apr 8, 2022 7:22 AM UTC

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

Translate
ISC
ISCAuthor
Silver ⭐️
Apr 12, 2022 6:26 PM UTC

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

Translate