Github user kanzhang commented on the pull request:

    https://github.com/apache/spark/pull/306#issuecomment-39398593
  
    When the driver sends StopExecutor to executor (log msg "Driver commanded a 
shutdown"), it also ends up here. So it can be a normal exit depends on the 
exit code. See my comment here 
https://issues.apache.org/jira/browse/SPARK-1118?focusedCommentId=13958329&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13958329
    
    There are 2 other places where FAILED is used. One is when exception is 
caught in this same method. The other is when exception is caught in 
LaunchExecutor() in Worker.scala. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to