I'd imagine that myRDD.take(10).foreach(println) is the most straightforward thing but yeah you can probably change shell default behavior too.
On Mon, Feb 23, 2015 at 7:15 PM, Mark Hamstra <m...@clearstorydata.com> wrote: > That will produce very different output than just the 10 items that Manas > wants. > > This is essentially a Scala shell issue, so this should apply: > http://stackoverflow.com/questions/9516567/settings-maxprintstring-for-scala-2-9-repl > > On Mon, Feb 23, 2015 at 10:25 AM, Akhil Das <ak...@sigmoidanalytics.com> > wrote: >> >> You can do it like myRDD.foreach(println(_)) to print everything. >> >> Thanks >> Best Regards >> >> On Mon, Feb 23, 2015 at 11:49 PM, Manas Kar <manasdebashis...@gmail.com> >> wrote: >>> >>> Hi experts, >>> I am using Spark 1.2 from CDH5.3. >>> When I issue commands like >>> myRDD.take(10) the result gets truncated after 4-5 records. >>> >>> Is there a way to configure the same to show more items? >>> >>> ..Manas >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org