hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-544) Unconditional wait findbug warning from ReplicationSupervisor
Date Fri, 19 Oct 2018 23:52:00 GMT

    [ https://issues.apache.org/jira/browse/HDDS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657577#comment-16657577
] 

Arpit Agarwal commented on HDDS-544:
------------------------------------

Thanks [~anu]. Missed a few changes in the uploaded patch.

v03 patch
- fix build break in DatanodeStateMachine
- Improve InterruptedException handling in {{stop}} routine.
- A few more javadoc comments.

> 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
>            Priority: Blocker
>         Attachments: HDDS-544.01.patch, HDDS-544.02.patch, HDDS-544.03.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message