hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharat Viswanadham (Jira)" <j...@apache.org>
Subject [jira] [Created] (HDDS-2236) Remove default http-bind-host from ozone-default.xml
Date Wed, 02 Oct 2019 20:13:00 GMT
Bharat Viswanadham created HDDS-2236:

             Summary: Remove default http-bind-host from ozone-default.xml
                 Key: HDDS-2236
                 URL: https://issues.apache.org/jira/browse/HDDS-2236
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Bharat Viswanadham

Right now, in the code to get HttpBindAddress


final Optional<String> bindHost =
 getHostNameFromConfigKeys(conf, bindHostKey);

final Optional<Integer> addressPort =
 getPortNumberFromConfigKeys(conf, addressKey);

final Optional<String> addressHost =
 getHostNameFromConfigKeys(conf, addressKey);

String hostName = bindHost.orElse(addressHost.orElse(bindHostDefault));

return NetUtils.createSocketAddr(
 hostName + ":" + addressPort.orElse(bindPortdefault));


So, if http-address is mentioned with some hostname, still bind-host ( will be used.


Like this, we need to delete the default for recon,freon,datanode.

 <tag>OM, MANAGEMENT</tag>
 The actual address the OM web server will bind to. If this optional
 the address is set, it overrides only the hostname portion of

This message was sent by Atlassian Jira

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message