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

Hudson commented on HDFS-7790:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2054 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2054/])
HDFS-7790. Do not create optional fields in DFSInputStream unless they are 
needed (cmccabe) (cmccabe: rev 871cb56152e6039ff56c6fabfcd45451029471c3)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSInputStream.java


> Do not create optional fields in DFSInputStream unless they are needed
> ----------------------------------------------------------------------
>
>                 Key: HDFS-7790
>                 URL: https://issues.apache.org/jira/browse/HDFS-7790
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: dfsclient
>    Affects Versions: 2.3.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7790.001.patch
>
>
> {{DFSInputStream#oneByteBuffer}} and {{DFSInputStream#extendedReadBuffers}} 
> are only used some of the time, and they are always used under the positional 
> lock.  Let's create them on demand to save memory.



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

Reply via email to