You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/01/20 00:44:00 UTC

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

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)