[ 
https://issues.apache.org/jira/browse/FLINK-15457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Wang updated FLINK-15457:
------------------------------
    Description: 
We have the following todo in the {{YarnEntrypointUtils#loadConfiguration}}. 

Rest port(rest.bind-port), blob port(blob.server.port) and rpc 
port(yarn.application-master.port) could both support a list of ports 
(“50100,50101”), ranges" + " (“50100-50200”) or a combination of both.
{code:java}
   // TODO: Support port ranges for the AM
//  final String portRange = configuration.getString(
//   ConfigConstants.YARN_APPLICATION_MASTER_PORT,
//   ConfigConstants.DEFAULT_YARN_JOB_MANAGER_PORT);
{code}

  was:
We have the following todo in the {{YarnEntrypointUtils#loadConfiguration}}. It 
has been supported by {{rest.bind-port}}. It accepts a list of ports 
(“50100,50101”), ranges" + " (“50100-50200”) or a combination of both. Blob 
port {{blob.server.port}} and rpc port {{yarn.application-master.port}} could 
also support port ranges.
{code:java}
   // TODO: Support port ranges for the AM
//  final String portRange = configuration.getString(
//   ConfigConstants.YARN_APPLICATION_MASTER_PORT,
//   ConfigConstants.DEFAULT_YARN_JOB_MANAGER_PORT);
{code}


> Remove the finished TODO in the YarnEntrypointUtils
> ---------------------------------------------------
>
>                 Key: FLINK-15457
>                 URL: https://issues.apache.org/jira/browse/FLINK-15457
>             Project: Flink
>          Issue Type: Task
>          Components: Deployment / YARN
>            Reporter: Yang Wang
>            Priority: Minor
>
> We have the following todo in the {{YarnEntrypointUtils#loadConfiguration}}. 
> Rest port(rest.bind-port), blob port(blob.server.port) and rpc 
> port(yarn.application-master.port) could both support a list of ports 
> (“50100,50101”), ranges" + " (“50100-50200”) or a combination of both.
> {code:java}
>    // TODO: Support port ranges for the AM
> //  final String portRange = configuration.getString(
> //   ConfigConstants.YARN_APPLICATION_MASTER_PORT,
> //   ConfigConstants.DEFAULT_YARN_JOB_MANAGER_PORT);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to