spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Yue <yue.yuany...@gmail.com>
Subject How to output RDD to one file with specific name?
Date Thu, 25 Aug 2016 17:15:01 GMT
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.

Mime
View raw message