HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes from HDFS-8386. Contributed by Rakesh R
This commit is contained in:
parent
fbf55dcaf4
commit
d4929f448f
|
@ -635,6 +635,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-8540. Mover should exit with NO_MOVE_BLOCK if no block can be moved.
|
HDFS-8540. Mover should exit with NO_MOVE_BLOCK if no block can be moved.
|
||||||
(surendra singh lilhore via szetszwo)
|
(surendra singh lilhore via szetszwo)
|
||||||
|
|
||||||
|
HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes
|
||||||
|
from HDFS-8386. (Rakesh R via szetszwo)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than
|
||||||
|
|
|
@ -898,17 +898,10 @@ public class DFSOutputStream extends FSOutputSummer
|
||||||
return fileId;
|
return fileId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the data streamer object.
|
|
||||||
*/
|
|
||||||
protected synchronized void setStreamer(DataStreamer streamer) {
|
|
||||||
this.streamer = streamer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the data streamer object.
|
* Returns the data streamer object.
|
||||||
*/
|
*/
|
||||||
protected synchronized DataStreamer getStreamer() {
|
protected DataStreamer getStreamer() {
|
||||||
return streamer;
|
return streamer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue