I am getting permission can you please help

AccessControlException: Permission denied: user=anjalikrishna1985, access=WRITE, inode=

spark.read.csv("/public/retail_db/orders") -sucessful

res0.write.mode(“overwrite”).save("/home/anjalikrishna1985")-- got error like permission denied

Hi @Anjali_krishna_Gopi,

Please try to use your hdfs location to save the dataframe-
res0.write.mode("overwrite").save("/user/user_name/...")

1 Like