You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2019/06/22 00:07:00 UTC

[jira] [Commented] (HADOOP-15989) Synchronized at CompositeService#removeService is not required

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

Hudson commented on HADOOP-15989:
---------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #16806 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16806/])
HADOOP-15989. Synchronized at CompositeService#removeService is not (weichiu: rev 371452e26005a483b069cc8d558ec1b4eb6f2e0e)
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/CompositeService.java


> Synchronized at CompositeService#removeService is not required
> --------------------------------------------------------------
>
>                 Key: HADOOP-15989
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15989
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 2.7.3
>            Reporter: Prabhu Joseph
>            Assignee: Prabhu Joseph
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: 0001-HADOOP-15989.patch, 0002-HADOOP-15989.patch
>
>
> Synchronization at CompositeService#removeService method level is not required.
> {code}
> protected synchronized boolean removeService(Service service) {
> synchronized (serviceList) {
> return serviceList.remove(service);
> }
> }
> {code}



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

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