GitHub user uce opened a pull request:
https://github.com/apache/flink/pull/1538
[FLINK-3258] [runtime, streaming-java, tests] Move registerInputOutput code
to invoke and remove registerInputOutput
This removes the `registerInputOutput` method and move the respective code
to the `invoke` method. The separation was an artifact of the old Nephele
runtime, which has become obsolete now. With this change, the contract for
`AbstractInvokable` is easier (`invoke` needs to clean up everything it sets
up).
Includes #1537, because it appears more often with initialization in
`invoke`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/uce/flink 3258-invokable
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1538.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 #1538
----
commit bed375f5d152a55b941aa87523855abc685827f7
Author: Ufuk Celebi <[email protected]>
Date: 2016-01-19T11:56:52Z
[FLINK-3258] [runtime, streaming-java, tests] Move registerInputOutput code
to invoke and remove registerInputOutput
commit 5650c692817bdc4bcd19c0544b838a3c61f66492
Author: Ufuk Celebi <[email protected]>
Date: 2016-01-20T09:15:54Z
[FLINK-3258] [runtime] Don't request partition on channel update if no
requests yet
commit 8146430f01e0b3d05efde65b8f7a3e5b07041ae8
Author: Aljoscha Krettek <[email protected]>
Date: 2016-01-21T16:21:09Z
[FLINK-3261] Allow Task to decline checkpoint request if not ready
Before, it could happen that a StreamingTask receives a Checkpoint
Trigger message while internally not being ready. The checkpoint
coordinator would then wait the specified timeout interval before
continuing. Now, tasks can signal that they are not ready and the
checkpoint coordinator will dicard a checkpoint for which is this the
case and trigger new checkpoints if necessary.
The newly triggered checkpoints will also release alignment locks in
streaming tasks that are still waiting for barriers from failed
checkpoints.
----
---
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.
---