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

Yang Wang commented on FLINK-21038:
-----------------------------------

I agree with you that we could remove the two optional "host" and "web-ui" 
argument and use the common args instead.
{code:java}
Usage: jobmanager.sh ((start|start-foreground) [args])|stop|stop-all
{code}

> jobmanager.sh may misinterpret webui-port argument
> --------------------------------------------------
>
>                 Key: FLINK-21038
>                 URL: https://issues.apache.org/jira/browse/FLINK-21038
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / Scripts
>    Affects Versions: 1.9.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> The usage description for {{jobmanager.sh}} is as follows:
> {code}
> Usage: jobmanager.sh ((start|start-foreground) [host] 
> [webui-port])|stop|stop-all
> {code}
> It shows both {{host}} and {{webui-port}} as _separate_ optional arguments, 
> however we hard-code the positions of these parameters: 
> {code}
> STARTSTOP=$1
> HOST=$2 # optional when starting multiple instances
> WEBUIPORT=$3 # optional when starting multiple instances
> {code}
> As such you cannot set the webui.port without also setting some dummy host 
> argument.
> I'm wondering whether we could not remove these in favor of dynamic 
> properties.



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

Reply via email to