HDFS-8532. Make the visibility of DFSOutputStream#streamer member variable to private. Contributed by Rakesh R.

(cherry picked from commit 5149dc7b97)
This commit is contained in:
Andrew Wang 2015-06-04 11:09:19 -07:00
parent 75e962f367
commit ccc834395b
2 changed files with 4 additions and 1 deletions

View File

@ -257,6 +257,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8513. Rename BlockPlacementPolicyRackFaultTolarent to
BlockPlacementPolicyRackFaultTolerant. (wang)
HDFS-8532. Make the visibility of DFSOutputStream#streamer member variable
to private. (Rakesh R via wang)
OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -107,7 +107,7 @@ public class DFSOutputStream extends FSOutputSummer
protected final int bytesPerChecksum;
protected DFSPacket currentPacket = null;
protected DataStreamer streamer;
private DataStreamer streamer;
protected int packetSize = 0; // write packet size, not including the header.
protected int chunksPerPacket = 0;
protected long lastFlushOffset = 0; // offset when flush was invoked