hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9994) ZeroCopyLiteralByteString.wrap() should be used in place of ByteString.copyFrom()
Date Tue, 19 Nov 2013 03:33:23 GMT

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

Ted Yu commented on HBASE-9994:
-------------------------------

The change in WALCellCodec resulted in test failure below:

TestReplicationKillMasterRSCompressed,TestWALReplayCompressed,TestHLogSplitCompressed

This patch is limited to the two classes listed above.

> ZeroCopyLiteralByteString.wrap() should be used in place of ByteString.copyFrom()
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-9994
>                 URL: https://issues.apache.org/jira/browse/HBASE-9994
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 9994-v1.txt
>
>
> The following classes use ByteString.copyFrom() which should be replaced with ZeroCopyLiteralByteString.wrap()
:
> hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java
> hbase-server/src/main/java/org/apache/hadoop/hbase/codec/MessageCodec.java



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message