I am trying to output RDD to disk by

rdd.coleasce(1).saveAsTextFile("/foo")

It outputs to foo folder with a file with name: Part-00000.

Is there a way I could directly save the file as /foo/somename ?

Thanks.

Reply via email to