[ https://issues.apache.org/jira/browse/HDFS-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901727#comment-13901727 ]
Hudson commented on HDFS-5943: ------------------------------ SUCCESS: Integrated in Hadoop-trunk-Commit #5170 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5170/]) HDFS-5943. 'dfs.namenode.https-address' property is not loaded from configuration in federation setup. Contributed by Suresh Srinivas. (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1568412) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java > 'dfs.namenode.https-address.ns1' property is not used in federation setup > ------------------------------------------------------------------------- > > Key: HDFS-5943 > URL: https://issues.apache.org/jira/browse/HDFS-5943 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Yesha Vora > Assignee: Suresh Srinivas > Fix For: 2.4.0 > > Attachments: HDFS-5943.1.patch, HDFS-5943.patch > > > When federation is ON and two name nodes exist in Cluster, > dfs.namenode.https-address property is not being respected when > dfs.http.policy= HTTPS_ONLY > Scenario: > Pre condition: > Cluster with one namenode is running. The dfs.namenode.https-address is set > to 50701. Namenode UI is accessible at https://NN:50701 > Steps followed: > 1) Enable Federation and start new NN. > 2) Set https addresses for both NNs. > <property><name>dfs.federation.nameservices</name><value>ns1,ns2</value></property> > <property><name>dfs.namenode.https-address.ns2</name><value>host2:50701</value></property> > <property><name>dfs.namenode.https-address.ns1</name><value>host1:50701</value></property> > 3) restart Existing and New namenodes. > Expected behavior: > Both the name nodes are expected to be accessed on 50701 port. Instead both > the Name nodes start with 50470 port. > https://NN:50470 -- This message was sent by Atlassian JIRA (v6.1.5#6160)