IgorBerman commented on issue #10921: [SPARK-12265][Mesos] Spark calls 
System.exit inside driver instead of throwing exception
URL: https://github.com/apache/spark/pull/10921#issuecomment-489428542
 
 
   @dragos @andrewor14 @srowen I believe I have some corner case connected to 
this fix:
   Suppose I have spark driver embedded in java service and mesosDriver.run() 
exits for any reason(in my case due to temporary un-availability of external 
shuffle service on one of the worker nodes)
   
   currently there is no way to get this information besides checking if 
"-mesos-driver" exists somehow. I.e. the initialisation sequence went smoothly 
but due to dynamic allocation quirks mesos-driver exits(so countDown latch will 
be released already at this point)
   
   I'm wondering if I can get this signal with some spark listener?
   Should I create additional jira for this? 
   
   WDYT? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to