-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.3.0
-
Fix Version/s: 2.7.0
-
Component/s: hdfs-client
-
Labels:None
-
Target Version/s:
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.