spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afshartous, Nick" <nafshart...@wbgames.com>
Subject Re: Getting List of Executor Id's
Date Tue, 14 May 2019 01:24:37 GMT

Answering my own question.  Looks like this can be done by implementing SparkListener with
method

  def onExecutorAdded(executorAdded: SparkListenerExecutorAdded): Unit

as the SparkListenerExecutorAdded object has the info.  
--
    Nick

________________________________________


Am using Spark 2.3 and looking for an API in Java to fetch the list of executors.  Need host
and Id info for the executors.

Thanks for any pointers,
--
    Nick

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message