Parameter dfs.namenode.rpc-address does not get used when determining RPC address of NameNode ---------------------------------------------------------------------------------------------
Key: HDFS-2615 URL: https://issues.apache.org/jira/browse/HDFS-2615 Project: Hadoop HDFS Issue Type: Bug Components: name-node Affects Versions: 0.24.0 Reporter: David Robson When the NameNode is started it listens on two addresses. One defined by "dfs.namenode.servicerpc-address" and the other is derived from fs.defaultFS. It seems like it should check to see if "dfs.namenode.rpc-address" is set to match how getServiceRpcServerAddress. I have written a patch which updates getRpcServerAddress to achieve this. This means you can set fs.defaultFS to hdfs://hostname/ then set dfs.namenode.rpc-address to 0.0.0.0:8020 and the NameNode will listen on all IP addresses on that machine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira