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:
parent
75e962f367
commit
ccc834395b
|
@ -257,6 +257,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-8513. Rename BlockPlacementPolicyRackFaultTolarent to
|
HDFS-8513. Rename BlockPlacementPolicyRackFaultTolarent to
|
||||||
BlockPlacementPolicyRackFaultTolerant. (wang)
|
BlockPlacementPolicyRackFaultTolerant. (wang)
|
||||||
|
|
||||||
|
HDFS-8532. Make the visibility of DFSOutputStream#streamer member variable
|
||||||
|
to private. (Rakesh R via wang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||||
|
|
|
@ -107,7 +107,7 @@ public class DFSOutputStream extends FSOutputSummer
|
||||||
protected final int bytesPerChecksum;
|
protected final int bytesPerChecksum;
|
||||||
|
|
||||||
protected DFSPacket currentPacket = null;
|
protected DFSPacket currentPacket = null;
|
||||||
protected DataStreamer streamer;
|
private DataStreamer streamer;
|
||||||
protected int packetSize = 0; // write packet size, not including the header.
|
protected int packetSize = 0; // write packet size, not including the header.
|
||||||
protected int chunksPerPacket = 0;
|
protected int chunksPerPacket = 0;
|
||||||
protected long lastFlushOffset = 0; // offset when flush was invoked
|
protected long lastFlushOffset = 0; // offset when flush was invoked
|
||||||
|
|
Loading…
Reference in New Issue