Hi Saikat,
You may use the wrong mailing list for your question (=> spark user).
If you want to make a single string, it's :
red.collect.mkString("\n")
Be careful of driver explosion !
Cheers,
Jonathan
On Fri, 19 May 2017, 05:21 Saikat Kanjilal, wrote:
> One additional point, the following l
One additional point, the following line:
rdd.collect.foreach(t=>println(t._2))
when set to a scala string prints nothing even when I use toString at the end.
This seems to not be something that should be that out of the ordinary but I
could be wrong.
From: S