I don't understand what you're trying to do. The code will use log4j under the covers. The default configuration means writing log messages to stderr. In yarn-client mode that is your terminal screen, in yarn-cluster mode that is redirected to a file by Yarn. For the executors, that will always be redirected to a file (since they're launched by yarn).
I don't know what you mean by "port". But if neither of those options is what you're looking for, you need to look at providing a custom log4j configuration that does what you want. On Sun, Jul 20, 2014 at 11:05 PM, abhiguruvayya <sharath.abhis...@gmail.com> wrote: > Hello Marcelo Vanzin, > > Can you explain bit more on this? I tried using client mode but can you > explain how can i use this port to write the log or output to this > port?Thanks in advance! > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-job-tracker-tp8367p10287.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. -- Marcelo