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

Chao Sun edited comment on HDFS-12976 at 6/25/18 7:03 PM:
----------------------------------------------------------

Another idea I'm thinking is to add a flag in {{RpcRequestHeaderProto}} and 
then check this flag on the NameNode server side, using {{AlignmentContext}}. 
With this approach, no change on {{ConfiguredFailoverProxyProvider}} will be 
required. Let me know your opinion on this.


was (Author: csun):
Another thought I'm thinking is to add a flag in {{RpcRequestHeaderProto}} and 
then check this flag on the NameNode server side, using {{AlignmentContext}}. 
With this approach, no change on {{ConfiguredFailoverProxyProvider}} will be 
required. Let me know your opinion on this.

> Introduce ObserverReadProxyProvider
> -----------------------------------
>
>                 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-HDFS-12943.000.patch, 
> HDFS-12976-HDFS-12943.001.patch, HDFS-12976-HDFS-12943.002.patch, 
> HDFS-12976-HDFS-12943.003.patch, 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]

Reply via email to