You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2018/10/22 19:53:00 UTC

[jira] [Created] (HDFS-14016) ObserverReadProxyProvider can never enable observer read except in tests

Chen Liang created HDFS-14016:
---------------------------------

             Summary: ObserverReadProxyProvider can never enable observer read except in tests
                 Key: HDFS-14016
                 URL: https://issues.apache.org/jira/browse/HDFS-14016
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Chen Liang
            Assignee: Chen Liang


Currently in {{ObserverReadProxyProvider#invoke}}, only when {{observerReadEnabled && isRead(method)}} is true, the code will check whether to talk to Observer. Otherwise always talk to active. The issue here is that currently it can only be set through {{setObserverReadEnabled}}, which is used by tests only. So observer read is always disabled in deployment and no way to enable it. We may want to either expose a configuration key, or hard code it to true so it can only be changed for testing purpose, or simply remove this variable. This is closely related to HDFS-13923.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org