hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3355) findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
Date Mon, 16 Mar 2015 23:19:39 GMT

     [ https://issues.apache.org/jira/browse/YARN-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zhihai xu updated YARN-3355:
----------------------------
    Labels: findbugs  (was: )

> findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3355
>                 URL: https://issues.apache.org/jira/browse/YARN-3355
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>              Labels: findbugs
>
> findbugs warning:Inconsistent synchronization of org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
> The findbugs warning found out two Unsynchronized access:
> 1. FairScheduler.getPlanQueues.
> It looks like we should add lock at FairScheduler.getPlanQueues.
> Because getPlanQueues will be called by AbstractReservationSystem.reinitialize.
> 2. FairScheduler.getAllocationConfiguration, which looks like ok without lock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message