hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14016) ObserverReadProxyProvider should enable observer read by default
Date Thu, 25 Oct 2018 06:15:00 GMT

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

Konstantin Shvachko commented on HDFS-14016:
--------------------------------------------

Let's change the default here: {{observerReadEnabled = true}}.
Updated the description.

> ObserverReadProxyProvider should enable observer read by default
> ----------------------------------------------------------------
>
>                 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
>            Priority: Major
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message