You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by David Thomas <dt...@gmail.com> on 2014/03/01 22:49:24 UTC

Where does println output go?

So I'm having this code:

rdd.foreach(p => {
     print(p)
})

Where can I see this output? Currently I'm running my spark program on a
cluster. When I run the jar using sbt run, I see only INFO logs on the
console. Where should I check to see the application sysouts?

Re: Where does println output go?

Posted by wxhsdp <wx...@gmail.com>.
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.

Re: Where does println output go?

Posted by Aureliano Buendia <bu...@gmail.com>.
On Sat, Mar 1, 2014 at 9:49 PM, David Thomas <dt...@gmail.com> wrote:

> So I'm having this code:
>
> 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.


>
> Where can I see this output? Currently I'm running my spark program on a
> cluster. When I run the jar using sbt run, I see only INFO logs on the
> console. Where should I check to see the application sysouts?
>