[
https://issues.apache.org/jira/browse/FLINK-7788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201671#comment-16201671
]
ASF GitHub Bot commented on FLINK-7788:
---------------------------------------
GitHub user kl0u opened a pull request:
https://github.com/apache/flink/pull/4814
[FLINK-7788][QS] Allows to specify a range of ports for the QS proxy.
## What is the purpose of the change
The queryable state client proxy can now take a port range as argument
so that if multiple proxies run on one machine, they can all start without
problems.
## Verifying this change
This change added tests and can be verified as follows:
Run the `org.apache.flink.queryablestate.network.AbstractServerTest`
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / no)
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no /
don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
NO
## Documentation
Javadocs are added, proper documentation is **Pending**
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kl0u/flink qs-proxy-port-range
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4814.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 #4814
----
commit 75acbf2c817aa91233f62513ab3f51031183faf1
Author: kkloudas <[email protected]>
Date: 2017-10-06T10:08:47Z
[FLINK-7788][QS] Allows to specify a range of ports for the QS proxy.
The queryable state client proxy can now take a port range as argument
so that if multiple proxies run on one machine, they can all start without
problems.
----
> Allow port range for queryable state client proxy.
> --------------------------------------------------
>
> Key: FLINK-7788
> URL: https://issues.apache.org/jira/browse/FLINK-7788
> Project: Flink
> Issue Type: Improvement
> Components: Queryable State
> Affects Versions: 1.4.0
> Reporter: Kostas Kloudas
> Assignee: Kostas Kloudas
> Fix For: 1.4.0
>
>
> Currently the newly introduced queryable state client proxy can only take one
> port as a parameter to bind to. In case of multiple proxies running on one
> machine, this can result in port clashes and inability to start the
> corresponding proxies.
> This issue proposes to allow the specification of a port range, so that if
> some ports in the range are occupied, the proxy can still pick from the
> remaining free ones.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)