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 63f3c24bb0
commit 64389f727c
2 changed files with 4 additions and 8 deletions

View File

@ -292,6 +292,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

@ -903,17 +903,10 @@ public long getFileId() {
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;
}
}