[
https://issues.apache.org/jira/browse/FLINK-10511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646108#comment-16646108
]
Till Rohrmann commented on FLINK-10511:
---------------------------------------
{{AkkaRpcServiceUtils}} currently does not support the creation of a RpcService
where you specify a port range to pick a port from. That's why we use the
{{BootstrapTools}} to start first the {{ActorSystem}}.
Adding this functionality to the {{AkkaRpcServiceUtils}} which uses the
{{BootstrapTools}} should make it possible to go through
{{AkkaRpcServiceUtils}}.
> Code duplication of creating RPC service in ClusterEntrypoint and
> AkkaRpcServiceUtils
> -------------------------------------------------------------------------------------
>
> Key: FLINK-10511
> URL: https://issues.apache.org/jira/browse/FLINK-10511
> Project: Flink
> Issue Type: Bug
> Components: Cluster Management
> Reporter: Shimin Yang
> Assignee: Shimin Yang
> Priority: Minor
>
> The TaskManagerRunner is using AkkaRpcServiceUtils to create RPC service, but
> the ClusterEntrypoint use a protected method to do the same job. I think it's
> better to use the same method in AkkaRpcServiceUtils for reuse of code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)