firemonkey
firemonkey

Reputation: 329

apache spark saveAsObjectFile writes to hdfs by default

Is there a way to explictly mention local file system instead of hdfs when running spark on YARN cluster.

Upvotes: 1

Views: 2004

Answers (1)

suztomo
suztomo

Reputation: 5202

You can explicitly specify "file:///" prefix in the argument.

yourRDD. saveAsObjectFile("file:///path/to/local/filesystem")

Upvotes: 7

Related Questions