You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Adam Warrington (JIRA)" <ji...@apache.org> on 2011/06/01 17:50:47 UTC

[jira] [Created] (HBASE-3942) The thrift scannerOpen functions should support row caching

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


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

[jira] [Updated] (HBASE-3942) The thrift scannerOpen functions should support row caching

Posted by "Adam Warrington (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (HBASE-3942) The thrift scannerOpen functions should support row caching

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042560#comment-13042560 ] 

Hudson commented on HBASE-3942:
-------------------------------

Integrated in HBase-TRUNK #1950 (See [https://builds.apache.org/hudson/job/HBase-TRUNK/1950/])
    

> 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
>             Fix For: 0.92.0
>
>         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

[jira] [Resolved] (HBASE-3942) The thrift scannerOpen functions should support row caching

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3942.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
     Hadoop Flags: [Reviewed]

Committed to TRUNK.  Thank you for the patch Adam.

> 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
>             Fix For: 0.92.0
>
>         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

[jira] [Updated] (HBASE-3942) The thrift scannerOpen functions should support row caching

Posted by "Adam Warrington (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Priority: Minor  (was: Major)

> 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
>
> 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