hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HBASE-2914) Profiling indicates that ThriftUtilities.rowResultFromHBase is quite inefficient
Date Fri, 13 Aug 2010 19:02:16 GMT

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

ryan rawson reassigned HBASE-2914:
----------------------------------

    Assignee: ryan rawson

> Profiling indicates that ThriftUtilities.rowResultFromHBase is quite inefficient
> --------------------------------------------------------------------------------
>
>                 Key: HBASE-2914
>                 URL: https://issues.apache.org/jira/browse/HBASE-2914
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.6, 0.89.20100621
>            Reporter: ryan rawson
>            Assignee: ryan rawson
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2914.patch
>
>
> Profiling of ThriftServer here at SU has indicated that the call ThriftUtilities.rowResultFromHBase()
is quite inefficient.  It first calls Result.getRowResult() which is inefficient and slow.
Instead by reimplementing to create the TRowResult (the thrift return type) straight from
the KeyValue[] array the performance boost is substantial, reducing time serializing the results.
 In my profiling the time spent in scannerGetList() went from 1100ms to 108ms on similar test
runs.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message