rdd.foreach(p => { print(p) }) The above closure gets executed on workers, you need to look at the logs of the workers to see the output.
but if i'm in local mode, where's the logs of local driver, there are no /logs and /work dirs in /SPARK_HOME which are set in standalone mode. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Where-does-println-output-go-tp2202p4054.html Sent from the Apache Spark User List mailing list archive at Nabble.com.