spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpatcham <gpatc...@gmail.com>
Subject saveasSequenceFile with codec and compression type
Date Mon, 20 Oct 2014 21:41:29 GMT
Hi All,

I'm trying to save RDD as sequencefile and not able to use compresiontype
(BLOCK or RECORD)

Can any one let me know how we can use compressiontype

here is the code I'm using

RDD.saveAsSequenceFile(target,Some(classOf[org.apache.hadoop.io.compress.GzipCodec]))

Thanks



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/saveasSequenceFile-with-codec-and-compression-type-tp16853.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message