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

Hudson commented on HBASE-10066:
--------------------------------

SUCCESS: Integrated in hbase-0.96 #215 (See 
[https://builds.apache.org/job/hbase-0.96/215/])
HBASE-10066. Use ByteArrayOutputStream#writeTo where appropriate (apurtell: rev 
1548378)
* 
/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
* 
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java


> Use ByteArrayOutputStream#writeTo where appropriate
> ---------------------------------------------------
>
>                 Key: HBASE-10066
>                 URL: https://issues.apache.org/jira/browse/HBASE-10066
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: 10066-0.96.patch, 10066.patch
>
>
> We can avoid some unnecessary copies by using ByteArrayOutputStream#writeTo 
> instead of #toByteArray followed by write(). Found this in a few places.



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

Reply via email to