Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2615

Parameter dfs.namenode.rpc-address does not get used when determining RPC address of NameNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • namenode
    • None

    Description

      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.

      Attachments

        1. HDFS-2615.patch
          0.7 kB
          David Robson

        Activity

          People

            Unassigned Unassigned
            david.robson David Robson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: