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

ZKFC ignores dfs.namenode.rpc-bind-host and uses dfs.namenode.rpc-address to bind to host address

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 2.9.2, 3.2.1, 3.1.3
    • 2.9.3, 3.1.4, 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • ha, namenode
    • None
    • Reviewed
    • Hide
      ZKFC binds host address to "dfs.namenode.servicerpc-bind-host", if configured. Otherwise, it binds to "dfs.namenode.rpc-bind-host". If neither of those is configured, ZKFC binds itself to NameNode RPC server address (effectively "dfs.namenode.rpc-address").
      Show
      ZKFC binds host address to "dfs.namenode.servicerpc-bind-host", if configured. Otherwise, it binds to "dfs.namenode.rpc-bind-host". If neither of those is configured, ZKFC binds itself to NameNode RPC server address (effectively "dfs.namenode.rpc-address").

    Description

      When ZKFC binds its RPC server to a hostname for listening, it uses the host value specified by dfs.namenode.rpc-address. It should instead use dfs.namenode.rpc-bind-host if that value has been set. If the value has not been set, then it can fall back on  dfs.namenode.rpc-address as it currently does.
       

      Attachments

        1. HDFS-15281
          5 kB
          Dhiraj Hegde
        2. HDFS-15281.002.patch
          5 kB
          Dhiraj Hegde

        Issue Links

          Activity

            People

              dhegde Dhiraj Hegde
              dhegde Dhiraj Hegde
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: