You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/09/24 10:22:00 UTC

[jira] [Created] (HDDS-544) Unconditional wait findbug warning from ReplicationSupervisor

Elek, Marton created HDDS-544:
---------------------------------

             Summary: Unconditional wait findbug warning from ReplicationSupervisor
                 Key: HDDS-544
                 URL: https://issues.apache.org/jira/browse/HDDS-544
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Elek, Marton
            Assignee: Elek, Marton


We have a findbug warning in ReplicationSupervisor:

{code}
 Multithreaded correctness Warnings
Code 	Warning
UW 	Unconditional wait in org.apache.hadoop.ozone.container.replication.ReplicationSupervisor$Worker.run()
	
Details
UW_UNCOND_WAIT: Unconditional wait

This method contains a call to java.lang.Object.wait() which is not guarded by conditional control flow.  The code should verify that condition it intends to wait for is not already satisfied before calling wait; any previous notifications will be ignored
{code}

This issue is to fix it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org