- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2022 09:38 AM
Hi ,
I get the error: Py4JJavaError: An error occurred while calling o5082.csv.
: org.apache.spark.SparkException: Job aborted. when writing to csv.
Screenshot below with detail error.
Any idea how to solve it?
Thanks!
- Labels:
-
Py4jjavaerror
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 07:52 AM
Please try output.coalesce(1).write.option("header","true").format("csv").save("path")
It seems to be same to https://community.databricks.com/s/topic/0TO3f000000CjVqGAK/py4jjavaerror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 11:06 AM
i am also facing same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2022 05:41 AM
Hello @Laura Blancarte , @Rahul Rathore
Would you mind sharing sample data from the input dataframe that is producing this error while saving?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 07:52 AM
Please try output.coalesce(1).write.option("header","true").format("csv").save("path")
It seems to be same to https://community.databricks.com/s/topic/0TO3f000000CjVqGAK/py4jjavaerror

