[ 
https://issues.apache.org/jira/browse/HBASE-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Warrington updated HBASE-3942:
-----------------------------------

    Attachment: HBASE-3942-0.patch

This patch adds a new function called scannerOpenWithScan to the thrift api. 
Currently, the thrift api has 5 scannerOpen functions, each supporting 
different parameters. Instead of continuing to grow the number of scannerOpen 
functions (potentially exponentially) with every new supported parameter, I've 
added a new TScan type, which is analogous to the Scan class in the HBase Java 
api. This type can grow over time without having to add new scannerOpen 
functions with every new supported option.

The TScan type supports 5 options: startRow, stopRow, timestamp, columns, and 
caching. This means the new openScannerWithScan function can support all 
options the other 5 scannerOpen functions currently support.

> The thrift scannerOpen functions should support row caching
> -----------------------------------------------------------
>
>                 Key: HBASE-3942
>                 URL: https://issues.apache.org/jira/browse/HBASE-3942
>             Project: HBase
>          Issue Type: Improvement
>          Components: thrift
>    Affects Versions: 0.90.3
>            Reporter: Adam Warrington
>            Priority: Minor
>         Attachments: HBASE-3942-0.patch
>
>
> After noticing very poor scanner performance using the Thrift api, I realized 
> that there was no way to set caching on the scanner. This should probably be 
> supported.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to