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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.0, 2.9.2, 3.2.1, 3.1.3
    • Fix Version/s: 2.9.3, 3.1.4, 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • Component/s: ha, namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

          Activity

            People

            • Assignee:
              dhegde Dhiraj Hegde
              Reporter:
              dhegde Dhiraj Hegde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment