Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
Right now, the namenode passes its RPC address in WebUI URLs when it redirects to datanodes for things like browsing the filesystem. This is brittle and fails in different ways when wildcard addresses are configured (see HDFS-3932 and HDFS-4471).
A better solution would be to instead pass the NN's nameservice ID in the URL, and make DNs look up the appropriate RPC address for the nameservice from their conf. This fixes the wildcard issues and has the additional benefit of making browsing work after a NN failover.