You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Bochun Zhang <bo...@umich.edu> on 2013/09/27 04:18:34 UTC

Need an example with SparkListener

Any body know how to use the SparkListener? (http://spark.incubator.apache.org/docs/0.7.3/api/core/spark/scheduler/SparkListener.html).

I need an example of self-defining terminal output on finishing each stage of job.

--Bochun


RE: Need an example with SparkListener

Posted by "Shao, Saisai" <sa...@intel.com>.
Hi,

Please check StatsReportListener class in SparkListener.scala, this is a default terminal output of stage result.

Thanks
Jerry

-----Original Message-----
From: Bochun Zhang [mailto:bochun@umich.edu] 
Sent: Friday, September 27, 2013 10:19 AM
To: user@spark.incubator.apache.org
Subject: Need an example with SparkListener

Any body know how to use the SparkListener? (http://spark.incubator.apache.org/docs/0.7.3/api/core/spark/scheduler/SparkListener.html).

I need an example of self-defining terminal output on finishing each stage of job.

--Bochun