HDFS-11766. Fix findbugs warning in branch-2.7. Contributed by Chen Liang.

This commit is contained in:
Akira Ajisaka 2017-05-09 11:22:12 -05:00
parent f8e893f7ea
commit 6599e57a79
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 3 additions and 1 deletions

View File

@ -263,6 +263,8 @@ Release 2.7.4 - UNRELEASED
HDFS-11714. Newly added NN storage directory won't get initialized
and cause space exhaustion. (kihwal)
HDFS-11766. Fix findbugs warning in branch-2.7. (Chen Liang via aajisaka)
Release 2.7.3 - 2016-08-25
INCOMPATIBLE CHANGES

View File

@ -2005,7 +2005,7 @@ public class DFSOutputStream extends FSOutputSummer
* Used in test only.
*/
@VisibleForTesting
void setBytesCurBlock(final long bytesCurBlock) {
synchronized void setBytesCurBlock(final long bytesCurBlock) {
this.bytesCurBlock = bytesCurBlock;
}