Relative Content

Tag Archive for apacheapache-sparkpysparkjupyter-notebook

Py4JJavaError: An error occurred while calling o374.save

Hi, I’m trying to save a dataframe to csv in using spark with the code below : output.write .format(“csv”) .mode(“overwrite”) .option(“path”,”C:/Users/Hp/Desktop/DE/Spark/code/op/”) .partitionBy(“age”) .save() but i am getting “Py4JJavaError: An error occurred while calling o132.save.” this error Py4JJavaError: An error occurred while calling o61.save. : java.lang.UnsatisfiedLinkError: ‘boolean org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(java.lang.String, int)’ at org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Native Method) at org.apache.hadoop.io.nativeio.NativeIO$Windows.access(NativeIO.java:793) at org.apache.hadoop.fs.FileUtil.canRead(FileUtil.java:1249) […]