Unnecessary double-check in DN#getHostName
------------------------------------------
Key: HDFS-2572
URL: https://issues.apache.org/jira/browse/HDFS-2572
Project: Hadoop HDFS
Issue Type: Improvement
Components: data-node
Affects Versions: 0.24.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Trivial
Fix For: 0.24.0
We do a double config.get unnecessarily inside DN#getHostName(...). Can be
removed by this patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira