-
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.
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.