hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14928) Start row should be set for query through HBase REST gateway involving globbing option
Date Fri, 04 Dec 2015 18:16:10 GMT

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

Jerry He commented on HBASE-14928:
----------------------------------

I am coping my comment in the mailing to here:

There seems to be a change in the way the url  table/rowkey*  is executed on the Rest gateway.
in pre-0.96, we set the startKey = rowkey and endKey = rowkey + one byte of 255 on Rest gateway
in the Scan sent to the servers.
In the newer versions, table/rowkey* seems to treated with a prefixFilter. 
This may explain why you are seeing slower response.

> Start row should be set for query through HBase REST gateway involving globbing option
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-14928
>                 URL: https://issues.apache.org/jira/browse/HBASE-14928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.1.3, 0.98.17
>
>         Attachments: 14928-v1.txt
>
>
> As Ben Sutton reported in the thread, Slow response on HBase REST api using globbing
option, query through the Rest API with a globbing option i.e. http://<HBase_Rest>:<HBase_Rest_Port>/table/key\*
executes extremely slowly.
> Jerry He pointed out that PrefixFilter is used for query involving globbing option.
> This issue is to fix this bug by setting start row for such queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message