Colin Patrick McCabe created HDFS-7790: ------------------------------------------
Summary: 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 {{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)