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-17191) Make use of UnsafeByteOperations#unsafeWrap(ByteBuffer buffer) in PBUtil#toCell(Cell cell)
Date Fri, 02 Dec 2016 11:52:58 GMT

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

Hudson commented on HBASE-17191:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #2058 (See [https://builds.apache.org/job/HBase-Trunk_matrix/2058/])
HBASE-17191 Make use of UnsafeByteOperations#unsafeWrap(ByteBuffer (ramkrishna: rev 3b72b69d0e3636eb68d8489c0427b4b4cc2c34cb)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/protobuf/TestProtobufUtil.java


> Make use of UnsafeByteOperations#unsafeWrap(ByteBuffer buffer) in PBUtil#toCell(Cell
cell)
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17191
>                 URL: https://issues.apache.org/jira/browse/HBASE-17191
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17191.patch, HBASE-17191_1.patch
>
>
> Since we now have support for BBs in UnsafeByteOperations#unsafeWrap(ByteBuffer) . So
for the non - java clients while creating the PB result we could avoid the copy to an temp
array. 
> Since we have a support to write to BB in ByteOutput having a result backed by Bytebuffer
should be fine. 



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

Mime
View raw message