databricks not working with Geoparquet for write data

Anil Kasar 25 Reputation points
2025-08-07T10:50:36.78+00:00

Py4JJavaError: An error occurred while calling o535.save. : org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 17.0 failed 4 times, most recent failure: Lost task 0.3 in stage 17.0 (TID 45) (10.137.237.68 executor 0): java.lang.NoSuchMethodError: org.apache.spark.sql.execution.datasources.parquet.ParquetOutputWriter.<init>(Ljava/lang/String;Lorg/apache/hadoop/mapreduce/TaskAttemptContext;)V at org.apache.spark.sql.execution.datasources.parquet.GeoParquetFileFormat$$anon$1.newInstance(GeoParquetFileFormat.scala:162) at org.apache.spark.sql.execution.datasources.SingleDirectoryDataWriter.newOutputWriter(FileFormatDataWriter.scala:186) at org.apache.spark.sql.execution.datasources.SingleDirectoryDataWriter.<init>(FileFormatDataWriter.scala:168) at org.apache.spark.sql.execution.datasources.FileFormatWriter$.executeTask(FileFormatWriter.scala:544) at org.apache.spark.sql.execution.datasources.WriteFilesExec.$anonfun$doExecuteWrite$1(WriteFiles.scala:117)

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
{count} vote

Accepted answer
  1. Smaran Thoomu 29,500 Reputation points Microsoft External Staff Moderator
    2025-08-27T18:19:16.4333333+00:00

    Hi Anil Kasar
    Thank you for sharing the details.

    The issue you experienced while writing GeoParquet files in Databricks was identified as a bug on the Databricks backend. We coordinated with the Databricks Product Group, and a fix has now been deployed.

    You should now be able to write GeoParquet data successfully without any changes on your side. Since you’ve already confirmed that the issue is resolved, no further action is required.

    Key points:

    • Symptom: Error when writing GeoParquet (NoSuchMethodError: ParquetOutputWriter).
    • Cause: Databricks backend bug related to Parquet output handling.
    • Resolution: Databricks Product Group deployed a fix.

    This issue was also reported in the Apache Sedona GitHub repo here for context. However, the resolution was applied by Databricks directly in the backend, and you should now be able to write GeoParquet files without any code or library changes.

    If the problem reappears or you encounter any other issues with GeoParquet, please let us know, and we’ll assist promptly.


    Hope this helps. If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anil Kasar 25 Reputation points
    2025-08-07T11:38:09.8133333+00:00

    Thanks @Venkat Reddy Navari ,

    Till day before it was working fine , and from yesterday its started giving problem. I have not made any changes in Library and the runtime version.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.