spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayoub <benali.ayoub.i...@gmail.com>
Subject RDD to InputStream
Date Fri, 13 Mar 2015 09:54:19 GMT
Hello,

I need to convert an RDD[String] to a java.io.InputStream but I didn't find
an east way to do it.
Currently I am saving the RDD as temporary file and then opening an
inputstream on the file but that is not really optimal.

Does anybody know a better way to do that ?

Thanks,
Ayoub. 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/RDD-to-InputStream-tp22031.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