GitHub user liujianhuiouc opened a pull request:

    https://github.com/apache/spark/pull/16406

    [SPARK-19001] don't submit sendHeartbeat task again if has registered…

    
    ## What changes were proposed in this pull request?
    
    when first successfully registered response received, set the flag 
`hasRegisteredBefore` as `true`, and when it register next time, it will not 
submit the `SendHeartbeat` task again  


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liujianhuiouc/spark-1 spark-19001

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16406.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16406
    
----
commit 3a4a632d8cb368ddeda1066da9e44f42179230de
Author: liujianhui <liujianhui@didichuxing>
Date:   2016-12-26T13:50:37Z

    [SPARK-19001] don't submit sendHeartbeat task again if has registered before

----


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