[
https://issues.apache.org/jira/browse/HDFS-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-3139:
------------------------------
Attachment: hdfs-3139.txt
The info log of selfAddr#getHostName caused selfAddr to resolve the hostname so
the string match in TestDFSAddressConfig for starts with "127.0.0.1" failed
because it was now "localhost/127.0.0.1". I've made it log the IP instead
(didn't intend to log the hostname here) and made the test more robust (will
pass whether or not selfAdd is resolved to localhost).
> Minor Datanode logging improvement
> ----------------------------------
>
> Key: HDFS-3139
> URL: https://issues.apache.org/jira/browse/HDFS-3139
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Minor
> Attachments: hdfs-3139.txt, hdfs-3139.txt
>
>
> - DatanodeInfo#getDatanodeReport should log its hostname, in addition to the
> DNS lookup it does on its IP
> - Datanode should log the ipc/info/streaming servers its listening on at
> startup at INFO level
--
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