[jira] [Created] (FLINK-21038) jobmanager.sh may misinterpret webui-port argument

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21038) jobmanager.sh may misinterpret webui-port argument

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-21038:
----------------------------------------

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


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)