[ 
https://issues.apache.org/jira/browse/HDFS-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209141#comment-13209141
 ] 

Todd Lipcon commented on HDFS-2958:
-----------------------------------

We should deprecate/remove DFSUtil.createNamenode and similar methods as well 
so that the only remaining path to create a ClientProtocol object has to go 
through the HA code. Might be nice to refactor all of the proxy-creation code 
to a new class of static functions, something like "NameNodeProxies.java", so 
the non-HA ones could become private?
                
> HA: Sweep for remaining proxy construction which doesn't go through failover 
> path
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-2958
>                 URL: https://issues.apache.org/jira/browse/HDFS-2958
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Aaron T. Myers
>
> There seem to be a couple more places where we construct proxies without 
> going through the failover code path. In particular I just tried "hdfs 
> groups" and it didn't properly resolve the logical URI. There may be others.

--
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

        

Reply via email to