[jira] [Commented] (FLINK-18048) "--host" option could not take effect for standalone application cluster

2020-06-01 Thread Zhu Zhu (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17120901#comment-17120901
 ] 

Zhu Zhu commented on FLINK-18048:
-

Yes you are right that host option should be added to `getOptions()` but was 
not.
I have assigned the ticket to you.

> "--host" option could not take effect for standalone application cluster
> 
>
> Key: FLINK-18048
> URL: https://issues.apache.org/jira/browse/FLINK-18048
> Project: Flink
>  Issue Type: Bug
>  Components: Deployment / Scripts
>Affects Versions: 1.11.0, 1.10.2
>Reporter: Yang Wang
>Assignee: Yang Wang
>Priority: Critical
> Fix For: 1.11.0, 1.10.2
>
>
> When we use the following command to start a Flink application cluster, the 
> specified hostname could not take effect. The root cause is {{HOST_OPTION}} 
> is not added to options in 
> {{StandaloneApplicationClusterConfigurationParserFactory}}. It will be a 
> critical issue when we deploy Flink on container environment. Because users 
> usually want to specify a given hostname.
>  
> {code:java}
> ./bin/standalone-job.sh start --host external-hostname --job-classname 
> org.apache.flink.streaming.examples.join.WindowJoin
> {code}
>  
> For the old {{StandaloneJobClusterConfigurationParserFactory}}, it has the 
> same issue.



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


[jira] [Commented] (FLINK-18048) "--host" option could not take effect for standalone application cluster

2020-06-01 Thread Yang Wang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17120887#comment-17120887
 ] 

Yang Wang commented on FLINK-18048:
---

[~kkl0u] Could you assign this ticket to me? I will attach a PR to fix this.

> "--host" option could not take effect for standalone application cluster
> 
>
> Key: FLINK-18048
> URL: https://issues.apache.org/jira/browse/FLINK-18048
> Project: Flink
>  Issue Type: Bug
>  Components: Deployment / Scripts
>Affects Versions: 1.11.0, 1.10.2
>Reporter: Yang Wang
>Priority: Critical
> Fix For: 1.11.0, 1.10.2
>
>
> When we use the following command to start a Flink application cluster, the 
> specified hostname could not take effect. The root cause is {{HOST_OPTION}} 
> is not added to options in 
> {{StandaloneApplicationClusterConfigurationParserFactory}}. It will be a 
> critical issue when we deploy Flink on container environment. Because users 
> usually want to specify a given hostname.
>  
> {code:java}
> ./bin/standalone-job.sh start --host external-hostname --job-classname 
> org.apache.flink.streaming.examples.join.WindowJoin
> {code}
>  
> For the old {{StandaloneJobClusterConfigurationParserFactory}}, it has the 
> same issue.



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