Turn Off Compression for Textfiles

2015-08-04 Thread Brandon White
How do you turn off gz compression for saving as textfiles? Right now, I am
reading ,gz files and it is saving them as .gz. I would love to not
compress them when I save.

1) DStream.saveAsTextFiles() //no compression

2) RDD.saveAsTextFile() //no compression

Any ideas?


Re: Turn Off Compression for Textfiles

2015-08-04 Thread Philip Weaver
The .gz extension indicates that the file is compressed with gzip. Choose a
different extension (e.g. .txt) when you save them.

On Tue, Aug 4, 2015 at 7:00 PM, Brandon White bwwintheho...@gmail.com
wrote:

 How do you turn off gz compression for saving as textfiles? Right now, I
 am reading ,gz files and it is saving them as .gz. I would love to not
 compress them when I save.

 1) DStream.saveAsTextFiles() //no compression

 2) RDD.saveAsTextFile() //no compression

 Any ideas?