Skip to content

Conversation

uce
Copy link
Contributor

@uce uce commented Nov 10, 2016

When we do eager deployment all intermediate stream/partition locations are already known when scheduling an intermediate stream/partition consumer. Nonetheless we saw tasks with "unknown input channels" that were updated lazily during runtime. This was caused by a wrong producer execution state check requiring the producers to be in RUNNING or DEPLOYING state when creating consumer input channels. This is changed in the 2nd commit.

The 1st commit revert a bogus fix as part of FLINK-3232. With that "fix" we actually did not fix anything correctly and instead doubled the number of schedule or update consumer messages we sent.

Furthermore (3rd commit) we change the initial and max partition request back off to 100ms and 10secs respectively. Those numbers were hard coded before. As a safety net for very slow deployments, the values can be changed via the config. No user should need to change this config value in practice.

uce added 3 commits November 10, 2016 22:59
The reverted commit did not really fix anything, but hid the problem by
brute force, sending many more schedule or update consumers messages.
The back offs were hard coded before, which would have made it
impossible to react to any potential problems with them.
@uce uce force-pushed the eager_deployment branch from 96b2ee2 to ca797d9 Compare November 10, 2016 22:08
@uce uce closed this Nov 11, 2016
@uce uce deleted the eager_deployment branch February 16, 2017 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants