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

shenshengli commented on HBASE-25449:
-------------------------------------

{quote}Do you mean, users could forget to set it in hbase and in hdfs?
{quote}
Yes.I just left the default value of this configuration empty so that I could 
use the HDFS configuration directly.
{quote}I don't follow why this hbase-default configuration does not prevail 
over the hdfs default? Is it that the hdfs jar with hdfs-default it in comes 
before hbase-default in the classpath?
{quote}
This hbase-default configuration does prevail over the hdfs default,and prevail 
over the hdfs-site.
{quote}Is it that you observe in operation that the default 
dfs.client.read.shortcircuit=true in hbase-default is not happening?
{quote}
I find the default dfs.client.read.shortcircuit=false in hbase-default.So, even 
if this value is true in my HDFs-site.xml, I still need to explicitly set it in 
hbase-site.xml.

> 'dfs.client.read.shortcircuit' should not be set in hbase-default.xml
> ---------------------------------------------------------------------
>
>                 Key: HBASE-25449
>                 URL: https://issues.apache.org/jira/browse/HBASE-25449
>             Project: HBase
>          Issue Type: Improvement
>          Components: conf
>    Affects Versions: 2.0.1
>            Reporter: shenshengli
>            Assignee: shenshengli
>            Priority: Major
>
> I think this parameter is not suitable for in hbase-default.xml, because in 
> this case, HDFS explicitly set to "dfs.client.read.shortcircuit=true", hbase 
> rely on HDFS configuration, the parameters in hbase service still is 
> false.Must be explicitly in hbase-site.xml is set to 
> "dfs.client.read.shortcircuit=true" to take effect.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to