You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2021/03/05 04:04:00 UTC

[jira] [Created] (FLINK-21619) Remove the optional host and webui-port in jobmanager.sh and use common args instead

Yang Wang created FLINK-21619:
---------------------------------

             Summary: 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


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)