Given the following snippet:
val data = sc.parallelize(0 until 10000)
val local = data.collect
println(s"local.size")
Zeppelin prints out the entire value of local
to the notebook screen. How may that behavior be changed?
Since 0.6.0, Zeppelin provides a boolean flag zeppelin.spark.printREPLOutput
in spark's interpreter configuration (accessible via the GUI), which is set to true
by default.
If you set its value to false
then you get the desired behaviour that only explicit print statements are output.
See also: https://issues.apache.org/jira/browse/ZEPPELIN-688