[
https://issues.apache.org/jira/browse/HDFS-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866118#comment-13866118
]
Jing Zhao commented on HDFS-5653:
---------------------------------
For the current patch, since getCurrentProxyInfo and getProxy are called in
different places, is it possible that a failover happened in the middle
(triggered by another RPC call, e.g.)? I think another possible solution is to
let getProxy return (Proxy + extra tag) where the tag can be used to indicate
the NN.
> Log namenode hostname in various exceptions being thrown in a HA setup
> ----------------------------------------------------------------------
>
> Key: HDFS-5653
> URL: https://issues.apache.org/jira/browse/HDFS-5653
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: ha
> Affects Versions: 2.2.0
> Reporter: Arpit Gupta
> Assignee: Haohui Mai
> Priority: Minor
> Attachments: HDFS-5653.000.patch, HDFS-5653.001.patch,
> HDFS-5653.002.patch, HDFS-5653.003.patch
>
>
> In a HA setup any time we see an exception such as safemode or namenode in
> standby etc we dont know which namenode it came from. The user has to go to
> the logs of the namenode and determine which one was active and/or standby
> around the same time.
> I think it would help with debugging if any such exceptions could include the
> namenode hostname so the user could know exactly which namenode served the
> request.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)