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

Hudson commented on HDFS-9557:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #8976 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/8976/])
HDFS-9557. Reduce object allocation in PB conversion. Contributed by (cnauroth: 
rev c470c8953d4927043b6383fad8e792289c634c09)
* 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelperClient.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/protocolPB/TestPBHelper.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java


> Reduce object allocation in PB conversion
> -----------------------------------------
>
>                 Key: HDFS-9557
>                 URL: https://issues.apache.org/jira/browse/HDFS-9557
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>    Affects Versions: 2.8.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9557.patch, HDFS-9557.patch
>
>
> PB conversions use {{ByteString.copyFrom}} to populate the builder.  
> Unfortunately this creates unique instances for empty arrays instead of 
> returning the singleton {{ByteString.EMPTY}}.



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

Reply via email to