[
https://issues.apache.org/jira/browse/HDFS-12976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500869#comment-16500869
]
Chen Liang commented on HDFS-12976:
-----------------------------------
Definitely a tricky change, thanks for working on this [~csun]!
The WIP patch helped a lot on understanding how will the proxy provider look
look. On the first look though, I wonder, what happens when node state changes?
1. if a non-observer node transitions to observer node, seems such nodes will
not be recognized as available for read by a running client because
observerProxies is set only in constructor.
2. similarly if an observer node transitions to standby, and even then to
active, seems the write path will not follow this properly
Maybe add some logic to recheck NN status and update the known proxy overtime?
Another minor side comment, in {{ObserverReadProxyProvider}}, this comment does
not seem to fit here: {{//Find out all the observer proxies}}
> Introduce StandbyReadProxyProvider
> ----------------------------------
>
> Key: HDFS-12976
> URL: https://issues.apache.org/jira/browse/HDFS-12976
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Konstantin Shvachko
> Assignee: Chao Sun
> Priority: Major
> Attachments: HDFS-12976.WIP.patch
>
>
> {{StandbyReadProxyProvider}} should implement {{FailoverProxyProvider}}
> interface and be able to submit read requests to ANN and SBN(s).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]