GitHub user WangTaoTheTonic opened a pull request:

    https://github.com/apache/flink/pull/3745

    [FLINK-6341]Don't let JM fall into infinite loop

    When TaskManager register to JobManager, JM will send a 
"NotifyResourceStarted" message to kick off Resource Manager, then trigger a 
reconnection to resource manager through sending a 
"TriggerRegistrationAtJobManager".
    When the ref of resource manager in JobManager is not None and the 
reconnection is to same resource manager, JobManager will go to a infinite 
message sending loop which will always sending himself a 
"ReconnectResourceManager" every 2 seconds.
    We have already observed that phonomenon. More details, check how 
JobManager handles `ReconnectResourceManager`.

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

    $ git pull https://github.com/WangTaoTheTonic/flink FLINK-6341

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

    https://github.com/apache/flink/pull/3745.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 #3745
    
----
commit 8eb4dd42a71d9830c91b3db824e3133ce3d35c08
Author: WangTaoTheTonic <[email protected]>
Date:   2017-04-20T12:28:10Z

    Don't let JM fall into infinite loop

----


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