You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (Jira)" <ji...@apache.org> on 2019/10/29 16:44:00 UTC

[jira] [Created] (IMPALA-9102) Have webserver fall back to --hostname

Thomas Tauber-Marshall created IMPALA-9102:
----------------------------------------------

             Summary: Have webserver fall back to --hostname
                 Key: IMPALA-9102
                 URL: https://issues.apache.org/jira/browse/IMPALA-9102
             Project: IMPALA
          Issue Type: Improvement
          Components: Infrastructure
    Affects Versions: Impala 3.4.0
            Reporter: Thomas Tauber-Marshall
            Assignee: Thomas Tauber-Marshall


When the webserver determines its hostname, it first uses the value of --webserver_interface. If this is a wildcard address, then it uses the value returned by gethostname()

In some setups, gethostname() may return the short name and not the fqdn. This is likely undesirable, eg. because it likely leads to the links to other daemons on the /backends page not working.

In other places in Impala with the same basic issue, we allow users to set the desired hostname with the --hostname flag. We should have the webserver fall back to the value of --hostname, if set, before resorting to calling gethostname()



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