[ https://issues.apache.org/jira/browse/HDFS-11766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chen Liang updated HDFS-11766: ------------------------------ Attachment: HDFS-11766-branch-2.7.001.patch Post v001 patch to add the synchronization. > Fix findbugs warning in branch-2.7 > ---------------------------------- > > Key: HDFS-11766 > URL: https://issues.apache.org/jira/browse/HDFS-11766 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Akira Ajisaka > Assignee: Chen Liang > Attachments: HDFS-11766-branch-2.7.001.patch > > > There are 1 findbugs warning in branch-2.7. > https://builds.apache.org/job/PreCommit-HDFS-Build/19204/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html > {noformat} > Inconsistent synchronization of > org.apache.hadoop.hdfs.DFSOutputStream.bytesCurBlock; locked 96% of time > Bug type IS2_INCONSISTENT_SYNC > In class org.apache.hadoop.hdfs.DFSOutputStream > Field org.apache.hadoop.hdfs.DFSOutputStream.bytesCurBlock > Synchronized 96% of the time > Unsynchronized access at DFSOutputStream.java:[line 2009] > Synchronized access at DFSOutputStream.java:[line 2376] > (snip) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org