[ https://issues.apache.org/jira/browse/FLINK-21619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295750#comment-17295750 ]
Yang Wang commented on FLINK-21619: ----------------------------------- When I try to work on FLINK-21382(add documentation for standby JobManagers), I find this issue. cc [~chesnay] do you think this change make sense? > Remove the optional host and webui-port in jobmanager.sh and use common args > instead > ------------------------------------------------------------------------------------ > > Key: FLINK-21619 > URL: https://issues.apache.org/jira/browse/FLINK-21619 > Project: Flink > Issue Type: Improvement > Components: Deployment / Scripts > Reporter: Yang Wang > Priority: Major > > Currently, the {{jobmanager.sh}} only have two optional arguments, "host" and > "webui-port". Actually, the "webui-port" could not work unless we also > specify the "host". > > I suggest to remove the two optional arguments and use common args instead, > just like {{standalone-job.sh}}. After then we could support more options, > for example, "--host host1", "--webui-port 8081", "-Dxx=yy". It is more > flexible and easier to use. > > Before: > {code:java} > Usage: jobmanager.sh ((start|start-foreground) [host] > [webui-port])|stop|stop-all > {code} > After: > {code:java} > Usage: jobmanager.sh ((start|start-foreground) [args])|stop|stop-all > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)