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

Limit httpfs binds to certain IP addresses in branch-2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.10.0
    • httpfs
    • None
    • 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.001.patch
          2 kB
          Wei-Chiu Chuang
        2. HDFS-13492.branch-2.002.patch
          3 kB
          Wei-Chiu Chuang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: