Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 01:27 AM
@Shriyash wrote:Hi Folks,
Need help to resolve an error. I'm getting a below error while writing a dataframe into a csv file and exporting that file.
Error:
py4j.protocol.Py4JJavaError: An error occurred while calling o53.save.
: java.lang.UnsatisfiedLinkError: 'booleanCode Snippet:
mode_write = "overwrite"
header_write = "true"
path = "F://SampleData_Databricks/Certificate_Output/"
certified_df.write \
.option("mode", mode_write) \
.option("header", header) \
.option("path", path) \
.save()path = "F://SampleData_Databricks/Certificate_Output/"
You're working in a cloud environment. You can't write to your local storage from there. Try to write to your corresponding cloud storage instead.