rdd.coalesce() will take effect:
    rdd.coalesce(1, true).saveAsTextFile(save_path)



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/how-to-make-saveAsTextFile-NOT-split-output-into-multiple-file-tp8129p8244.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to