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

Limit httpfs binds to certain IP addresses in branch-2

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.10.0
    • Component/s: httpfs
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Use environment variable HTTPFS_HTTP_HOSTNAME to limit the IP addresses httpfs server binds to. Default: httpfs server binds to all IP addresses on the host.

      Description

      Currently httpfs binds to all IP addresses of the host by default. Some operators want to limit httpfs to accept only local connections.

      We should provide that option, and it's pretty doable in Hadoop 2.x.

      Note that httpfs underlying implementation changed in Hadoop 3, and the Jetty based httpfs implementation already support that I believe.

        Attachments

        1. HDFS-13492.branch-2.002.patch
          3 kB
          Wei-Chiu Chuang
        2. HDFS-13492.branch-2.001.patch
          2 kB
          Wei-Chiu Chuang

          Activity

            People

            • Assignee:
              weichiu Wei-Chiu Chuang
              Reporter:
              weichiu Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: