[ https://issues.apache.org/jira/browse/HDFS-3404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272916#comment-13272916
]
Eli Collins commented on HDFS-3404:
-----------------------------------
The approach - have the NN determine the hostname of the checkpointer from the request rather
than have it passed as a parameter - seems more sane to me.
- This change needs to be made to the 2NN as well right or were you thinking just the SBN?
- NetUtils#isIpAddress actually checks ip:port, seems like we'll always have an IP here. Perhaps
better to use InetAddresses.isInetAddress.
> Make putImage in GetImageServlet infer remote address to fetch from
> -------------------------------------------------------------------
>
> Key: HDFS-3404
> URL: https://issues.apache.org/jira/browse/HDFS-3404
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-3404.patch
>
>
> As it stands, daemons which perform checkpointing must determine their own address on
which they can be reached, so that the NN which they checkpoint against knows what address
to fetch a merged fsimage from. This causes problems if, for example, the daemon performing
checkpointing binds to 0.0.0.0, and thus can't be sure of what address the NN can reach it
at.
--
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
|