hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18348) The implementation of AsyncTableRegionLocator does not follow the javadoc
Date Sun, 09 Jul 2017 02:55:00 GMT

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

Duo Zhang commented on HBASE-18348:
-----------------------------------

For me, I do not like the 'reload' option. It gives user an impression that this method will
modify the cache if reload is true. This makes the implementation a little more complicated
as there are more possible races.

So I suggest that we change the parameter name from 'reload' to 'bypassCache', or some others
words(sorry, poor English) which have the same meaning that we will fetch the HRegionLocation
directly from HBase cluster.

Thanks.

> The implementation of AsyncTableRegionLocator does not follow the javadoc
> -------------------------------------------------------------------------
>
>                 Key: HBASE-18348
>                 URL: https://issues.apache.org/jira/browse/HBASE-18348
>             Project: HBase
>          Issue Type: Bug
>          Components: asyncclient, Client
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Duo Zhang
>            Priority: Critical
>             Fix For: 2.0.0-alpha-2
>
>
> The reload parameter is just ignored.
> Need to fix this before 2.0.0 release.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message