hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7381) Lightweight data transfer for Class Result
Date Fri, 21 Dec 2012 14:17:21 GMT

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

Hudson commented on HBASE-7381:
-------------------------------

Integrated in HBase-0.94-security #87 (See [https://builds.apache.org/job/HBase-0.94-security/87/])
    HBASE-7381 Lightweight data transfer for Class Result (Cheng Hao) (Revision 1423771)

     Result = SUCCESS
larsh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/Result.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java

                
> Lightweight data transfer for Class Result
> ------------------------------------------
>
>                 Key: HBASE-7381
>                 URL: https://issues.apache.org/jira/browse/HBASE-7381
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Cheng Hao
>            Priority: Trivial
>             Fix For: 0.94.4
>
>         Attachments: result_lightweight_copy_v2.patch
>
>
> Currently,the data transferring between 2 Result objects in the same process, will cause
additional/unnecessary data parsing & copying; as we have to do that via "Writables.copyWritable(result1,
result2)", which internally is serialization, data copying, and de-serialization.
> The use case are quite common when integrated with Hadoop job running;
> The protocol org.apache.hadoop.mapred.RecordReader defined in Hadoop, provides 3 interfaces:
> 1) K createKey();
> 2) V createValue();
> 3) boolean next(K key, V value) throws IOException;
> In the 3rd method implementation, most likely requires the value (should be Result object)
to be filled, with the Result object from HBase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message