GitHub user shuai-xu opened a pull request:
https://github.com/apache/flink/pull/2880
[FLINK-5171] [runtime] fix wrong use of Preconditions.checkState in
TaskManagerRunner
This pr is for jira
#[5171](https://issues.apache.org/jira/browse/FLINK-5171).
Preconditions.checkState will check the first parameter is true, if not, it
will throw an exception. but in TaskManagerRunner, it will throw an exception
if rpc port is valid.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shuai-xu/flink jira-5171
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2880.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 #2880
----
commit 0c223f91e56d1e11309affb0d92a95c82867b5a9
Author: shuai.xus <[email protected]>
Date: 2016-11-28T09:21:26Z
[FLINK-5171] [runtime] fix wrong use of Preconditions.checkState in
TaskManagerRunner
----
---
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.
---