Prepend file:// to the path

Daniel

> On 26 בנוב׳ 2014, at 20:15, firemonk9 <dhiraj.peech...@gmail.com> wrote:
> 
> When I am running spark locally, RDD saveAsObjectFile writes the file to
> local file system (ex : path /data/temp.txt)
> and 
> when I am running spark on YARN cluster,  RDD saveAsObjectFile writes the
> file to hdfs. (ex : path /data/temp.txt )
> 
> Is there a way to explictly mention local file system instead of hdfs when
> running on YARN cluster.  
> 
> 
> 
> --
> View this message in context: 
> http://apache-spark-user-list.1001560.n3.nabble.com/RDD-saveAsObjectFile-write-to-local-file-and-HDFS-tp19898.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
> 

Reply via email to