Skip to content
Andrei Tupitcyn edited this page Dec 23, 2015 · 2 revisions

TextFile Sink

Save RDD as a text file, using serialization to convert PValue to string line. Use RDD.saveAsTextFile method.

Configuration key Default Description
path - Path to store result.
serializer - Serializer config. See SerDe documentation for more details.
codec - Compression codec. Can be "bzip2", "default", "deflate", "gzip", "lz4" or "snappy"
Clone this wiki locally