hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5316) Namenode ignore the default https port
Date Mon, 07 Oct 2013 18:31:47 GMT
Suresh Srinivas created HDFS-5316:

             Summary: Namenode ignore the default https port
                 Key: HDFS-5316
                 URL: https://issues.apache.org/jira/browse/HDFS-5316
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Suresh Srinivas

When dfs.https.enable is true and dfs.https.port is not configured, namenode does not pickup
the default https port (50470), instead picks up random port. See:
boolean needClientAuth = conf.getBoolean("dfs.https.need.client.auth", false);
      InetSocketAddress secInfoSocAddr = NetUtils.createSocketAddr(infoHost + ":" + conf.get(
        DFSConfigKeys.DFS_NAMENODE_HTTPS_PORT_KEY, "0"));
      Configuration sslConf = new Configuration(false);
      if (certSSL) {

Unless https port is specifically configured as 0, we should not be picking random port. This
needs to be documented in hdfs-default.xml

This message was sent by Atlassian JIRA

View raw message