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

Config options to allow wildcard endpoints for namenode HTTP and HTTPS servers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      HDFS-6273 introduces two new HDFS configuration keys:
      - dfs.namenode.http-bind-host
      - dfs.namenode.https-bind-host

      The most common use case for these keys is to have the NameNode HTTP (or HTTPS) endpoints listen on all interfaces on multi-homed systems by setting the keys to 0.0.0.0 i.e. INADDR_ANY.

      For the systems background on this usage of INADDR_ANY please refer to ip(7) in the Linux Programmer's Manual (web link: http://man7.org/linux/man-pages/man7/ip.7.html).

      These keys complement the existing NameNode options:
      - dfs.namenode.rpc-bind-host
      - dfs.namenode.servicerpc-bind-host
      Show
      HDFS-6273 introduces two new HDFS configuration keys: - dfs.namenode.http-bind-host - dfs.namenode.https-bind-host The most common use case for these keys is to have the NameNode HTTP (or HTTPS) endpoints listen on all interfaces on multi-homed systems by setting the keys to 0.0.0.0 i.e. INADDR_ANY. For the systems background on this usage of INADDR_ANY please refer to ip(7) in the Linux Programmer's Manual (web link: http://man7.org/linux/man-pages/man7/ip.7.html) . These keys complement the existing NameNode options: - dfs.namenode.rpc-bind-host - dfs.namenode.servicerpc-bind-host

      Description

      The NameNode already has a couple of keys to allow the RPC and Service RPC servers to bind the wildcard address (0.0.0.0) which is useful in multihomed environments via:

      1. dfs.namenode.rpc-bind-host
      2. dfs.namenode.servicerpc-address

      This Jira is to add similar options for the HTTP and HTTPS endpoints.

        Attachments

        1. HDFS-6273.01.patch
          18 kB
          Arpit Agarwal
        2. HDFS-6273.02.patch
          19 kB
          Arpit Agarwal
        3. HDFS-6273.03.patch
          20 kB
          Arpit Agarwal
        4. HDFS-6273.04.patch
          19 kB
          Arpit Agarwal

          Issue Links

            Activity

              People

              • Assignee:
                arpitagarwal Arpit Agarwal
                Reporter:
                arpitagarwal Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: