Rakesh R created HDFS-8550: ------------------------------ Summary: Erasure Coding: Fix FindBugs Multithreaded correctness Warning Key: HDFS-8550 URL: https://issues.apache.org/jira/browse/HDFS-8550 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Rakesh R Assignee: Rakesh R
Findbug warning:- Inconsistent synchronization of org.apache.hadoop.hdfs.DFSOutputStream.streamer; locked 89% of time {code} Bug type IS2_INCONSISTENT_SYNC (click for details) In class org.apache.hadoop.hdfs.DFSOutputStream Field org.apache.hadoop.hdfs.DFSOutputStream.streamer Synchronized 89% of the time Unsynchronized access at DFSOutputStream.java:[line 146] Unsynchronized access at DFSOutputStream.java:[line 859] Unsynchronized access at DFSOutputStream.java:[line 627] Unsynchronized access at DFSOutputStream.java:[line 630] Unsynchronized access at DFSOutputStream.java:[line 640] Unsynchronized access at DFSOutputStream.java:[line 342] Unsynchronized access at DFSOutputStream.java:[line 744] Unsynchronized access at DFSOutputStream.java:[line 903] Synchronized access at DFSOutputStream.java:[line 737] Synchronized access at DFSOutputStream.java:[line 913] Synchronized access at DFSOutputStream.java:[line 726] Synchronized access at DFSOutputStream.java:[line 756] Synchronized access at DFSOutputStream.java:[line 762] Synchronized access at DFSOutputStream.java:[line 757] Synchronized access at DFSOutputStream.java:[line 758] Synchronized access at DFSOutputStream.java:[line 762] Synchronized access at DFSOutputStream.java:[line 483] Synchronized access at DFSOutputStream.java:[line 486] Synchronized access at DFSOutputStream.java:[line 717] Synchronized access at DFSOutputStream.java:[line 719] Synchronized access at DFSOutputStream.java:[line 722] Synchronized access at DFSOutputStream.java:[line 408] Synchronized access at DFSOutputStream.java:[line 408] Synchronized access at DFSOutputStream.java:[line 423] Synchronized access at DFSOutputStream.java:[line 426] Synchronized access at DFSOutputStream.java:[line 411] Synchronized access at DFSOutputStream.java:[line 452] Synchronized access at DFSOutputStream.java:[line 452] Synchronized access at DFSOutputStream.java:[line 439] Synchronized access at DFSOutputStream.java:[line 439] Synchronized access at DFSOutputStream.java:[line 439] Synchronized access at DFSOutputStream.java:[line 670] Synchronized access at DFSOutputStream.java:[line 580] Synchronized access at DFSOutputStream.java:[line 574] Synchronized access at DFSOutputStream.java:[line 592] Synchronized access at DFSOutputStream.java:[line 583] Synchronized access at DFSOutputStream.java:[line 581] Synchronized access at DFSOutputStream.java:[line 621] Synchronized access at DFSOutputStream.java:[line 609] Synchronized access at DFSOutputStream.java:[line 621] Synchronized access at DFSOutputStream.java:[line 597] Synchronized access at DFSOutputStream.java:[line 612] Synchronized access at DFSOutputStream.java:[line 597] Synchronized access at DFSOutputStream.java:[line 588] Synchronized access at DFSOutputStream.java:[line 624] Synchronized access at DFSOutputStream.java:[line 612] Synchronized access at DFSOutputStream.java:[line 588] Synchronized access at DFSOutputStream.java:[line 632] Synchronized access at DFSOutputStream.java:[line 632] Synchronized access at DFSOutputStream.java:[line 616] Synchronized access at DFSOutputStream.java:[line 633] Synchronized access at DFSOutputStream.java:[line 657] Synchronized access at DFSOutputStream.java:[line 658] Synchronized access at DFSOutputStream.java:[line 695] Synchronized access at DFSOutputStream.java:[line 698] Synchronized access at DFSOutputStream.java:[line 784] Synchronized access at DFSOutputStream.java:[line 795] Synchronized access at DFSOutputStream.java:[line 801] Synchronized access at DFSOutputStream.java:[line 155] Synchronized access at DFSOutputStream.java:[line 158] Synchronized access at DFSOutputStream.java:[line 433] Synchronized access at DFSOutputStream.java:[line 886] Synchronized access at DFSOutputStream.java:[line 463] Synchronized access at DFSOutputStream.java:[line 469] Synchronized access at DFSOutputStream.java:[line 463] Synchronized access at DFSOutputStream.java:[line 470] Synchronized access at DFSOutputStream.java:[line 465] Synchronized access at DFSOutputStream.java:[line 749] Synchronized access at DFSStripedOutputStream.java:[line 260] Synchronized access at DFSStripedOutputStream.java:[line 325] Synchronized access at DFSStripedOutputStream.java:[line 325] Synchronized access at DFSStripedOutputStream.java:[line 335] Synchronized access at DFSStripedOutputStream.java:[line 264] Synchronized access at DFSStripedOutputStream.java:[line 511] {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)