How to save Spark RDD to local filesystem
<p>can i save a file into the local system with the <code>saveAsTextFile</code> syntax ?
This is how i'm writing the syntax to save a file:   <code>insert_df.rdd.saveAsTextFile("&lt;local path&gt;")</code></p>

<p>when i'm trying to do this i'm getting error as no permissions, but i have all the permissions to that specific local path, looks like it is treating the file as HDFS file.</p>