Github user CodingCat commented on a diff in the pull request:

    https://github.com/apache/spark/pull/306#discussion_r11235592
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala ---
    @@ -142,7 +142,7 @@ private[spark] class ExecutorRunner(
           // long-lived processes only. However, in the future, we might 
restart the executor a few
           // times on the same machine.
           val exitCode = process.waitFor()
    -      state = ExecutorState.FAILED
    --- End diff --
    
    BTW, do you mind fixing the comments... I think it's out of date according 
to your finding......the user program can call sc.stop() to explicitly exit the 
Executor now, and the return value is 0....


---
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