Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0, 0.23.0
-
None
-
Reviewed
Description
A valid host name can start with numeric value (You can refer RFC952, RFC1123 or http://www.zytrax.com/books/dns/apa/names.html), so it is possible in a production environment, user name their hadoop nodes as: 1hosta, 2hostb, etc. But normalizeHostName() will recognise this hostname as IP address and return directly rather than resolving the real IP address. These nodes will be failed to get correct network topology if topology script/TableMapping only contains their IPs (without hostname).
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-9095 TestNNThroughputBenchmark fails in branch-1
- Closed
- relates to
-
HADOOP-6824 Improve NetUtils:normalizeHostName
- Open