HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes from HDFS-8386. Contributed by Rakesh R

This commit is contained in:
Tsz-Wo Nicholas Sze 2015-06-16 18:08:29 -07:00
parent fbf55dcaf4
commit d4929f448f
2 changed files with 4 additions and 8 deletions

View File

@ -635,6 +635,9 @@ Release 2.8.0 - UNRELEASED
HDFS-8540. Mover should exit with NO_MOVE_BLOCK if no block can be moved.
(surendra singh lilhore via szetszwo)
HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes
from HDFS-8386. (Rakesh R via szetszwo)
OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -898,17 +898,10 @@ public class DFSOutputStream extends FSOutputSummer
return fileId;
}
/**
* Set the data streamer object.
*/
protected synchronized void setStreamer(DataStreamer streamer) {
this.streamer = streamer;
}
/**
* Returns the data streamer object.
*/
protected synchronized DataStreamer getStreamer() {
protected DataStreamer getStreamer() {
return streamer;
}
}