You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by SK <sk...@gmail.com> on 2014/06/14 03:38:28 UTC

printing in unit test

Hi,
My unit test is failing (the output is not matching the expected output). I
would like to printout the value of the output. But 
rdd.foreach(r=>println(r)) does not work from the unit test. How can I print
or write out the output to a file/screen?

thanks.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/printing-in-unit-test-tp7611.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.