Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
HDFS clients can use a single domain name to discover servers (namenodes/routers/observers) instead of explicitly listing out all hosts in the config
Description
In router based federation (RBF), clients will need to know about routers to talk to the HDFS cluster (obviously), and having routers updating (adding/removing) will have to make config change in every client, which is a painful process.
DNS can be used here to resolve the single domain name clients knows to a list of routers in the current config. However, DNS won't be able to consider only resolving to the working router based on certain health thresholds.
There are some ways about how this can be solved. One way is to have a separate script to regularly check the status of the router and update the DNS records if a router fails the health thresholds. In this way, security might be carefully considered for this way. Another way is to have the client do the normal connecting/failover after they get the list of routers, which requires the change of current failover proxy provider.
See the attached design document for details about the proposed solution.
Attachments
Attachments
Issue Links
- is a child of
-
HDFS-15831 Adopt more DNS resolving for HDFS
- Open
- is related to
-
HDFS-14600 DataNodes using DNS NameNode discovery will not send block reports when failover
- Open
-
HDFS-14601 NameNode HA with single DNS record for NameNode discovery prevent running ZKFC
- Open
-
HADOOP-16168 mvn clean site is not compiling in trunk
- Resolved
-
HDFS-15343 TestConfiguredFailoverProxyProvider is failing
- Resolved
-
HDFS-14327 Using FQDN instead of IP to access servers with DNS resolving
- Resolved
-
HDFS-15785 Datanode to support using DNS to resolve nameservices to IP addresses to get list of namenodes
- Resolved
-
HDFS-13312 NameNode High Availability ZooKeeper based discovery rather than explicit nn1,nn2 configs
- Patch Available
- relates to
-
HADOOP-16168 mvn clean site is not compiling in trunk
- Resolved
-
HDFS-14310 Improve documents for using DNS to resolve namenodes and routers
- Open