On Fri, Apr 1, 2016 at 9:23 AM, Truong Duc Kien <duckientru...@gmail.com> wrote:
> I need to gather some metrics using a SparkListener. Does the callback
> methods need to thread-safe or they are always call from the same thread ?

The callbacks are all fired on the same thread. Just be careful not to
block that thread for too long or Spark will start to drop events.

-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to