spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ☼ R Nair <ravishankar.n...@gmail.com>
Subject getBytes : save as pdf
Date Wed, 10 Oct 2018 15:30:07 GMT
All,

I am reading a zipped file into an RdD and getting the rdd._1as the name
and rdd._2.getBytes() as the content. How can I save the latter as a PDF?
In fact the zipped file is a set of PDFs. I tried saveAsObjectFile and
saveAsTextFile, but cannot read back the PDF. Any clue please?

Best, Ravion

Mime
View raw message