Github user KaiXinXiaoLei commented on the pull request:

    https://github.com/apache/spark/pull/7352#issuecomment-120815134
  
    I mean: If the thread throws exception, it will stop. And it will not 
recovery. So when the new ApplicationMaster starts and not tasks are running, 
the number of executor is not zero.
    
    For example:
      1.The old ApplicationMaster is dead or disconnected
      2. Submit tasks before the new ApplicationMaster starts, 
      3. The spark-dynamic-executor-allocation thread will ask to add 
executors. This thread throws exception and retry three times. Then this thread 
stops.
      4. When the new ApplicationMaster starts, and submit tasks.
      5. After the tasks is over. the number of executors is not zero.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to