InputStream to String then String into JavaRDD<String> lines ?

457 views
Skip to first unread message

Michael Chung

unread,
Jul 21, 2013, 6:59:17 AM7/21/13
to spark...@googlegroups.com
Hey I am looking at the java api and I don't see away to convert the String into a JavaRDD<string>?

I am trying to do this because the interface I am allowed to use only allows that I get an input stream, and I should not access the file system.

Does anyone know a work around for this situation ?  

Michael Chung

unread,
Jul 21, 2013, 9:30:11 AM7/21/13
to spark...@googlegroups.com
I think I found the answer its the paralelnize(List<String>) function
Reply all
Reply to author
Forward
0 new messages