HDFS-3280. DFSOutputStream.sync should not be synchronized. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1326049 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
204f4d83f3
commit
567778d5c0
|
@ -395,6 +395,8 @@ Release 2.0.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-2765. TestNameEditsConfigs is incorrectly swallowing IOE. (atm)
|
HDFS-2765. TestNameEditsConfigs is incorrectly swallowing IOE. (atm)
|
||||||
|
|
||||||
|
HDFS-3280. DFSOutputStream.sync should not be synchronized (todd)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-1623 SUBTASKS
|
BREAKDOWN OF HDFS-1623 SUBTASKS
|
||||||
|
|
||||||
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
||||||
|
|
|
@ -1418,7 +1418,7 @@ class DFSOutputStream extends FSOutputSummer implements Syncable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public synchronized void sync() throws IOException {
|
public void sync() throws IOException {
|
||||||
hflush();
|
hflush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue