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

Karthik Kambatla resolved YARN-3280.
------------------------------------
    Resolution: Duplicate

> Findbug issue in FairScheduler
> ------------------------------
>
>                 Key: YARN-3280
>                 URL: https://issues.apache.org/jira/browse/YARN-3280
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: Xuan Gong
>
> Several findbug issue:
> {code}
>       
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService
> Field 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService.reloadListener
> Synchronized 50% of the time
> Unsynchronized access at AllocationFileLoaderService.java:[line 410]
> Synchronized access at AllocationFileLoaderService.java:[line 192]
> {code}
> {code}
>       
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
> Field 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.allocConf
> Synchronized 80% of the time
> Unsynchronized access at FairScheduler.java:[line 1637]
> Unsynchronized access at FairScheduler.java:[line 1466]
> Synchronized access at FairScheduler.java:[line 1246]
> Synchronized access at FairScheduler.java:[line 1339]
> Synchronized access at FairScheduler.java:[line 1540]
> Synchronized access at FairScheduler.java:[line 1678]
> Synchronized access at FairScheduler.java:[line 694]
> Synchronized access at FairScheduler.java:[line 1477]
> Synchronized access at FairScheduler.java:[line 1478]
> Synchronized access at FairScheduler.java:[line 1479]
> {code}
> {code}
>       
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
> Field 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.fsOpDurations
> Synchronized 66% of the time
> Unsynchronized access at FairScheduler.java:[line 264]
> Unsynchronized access at FairScheduler.java:[line 1016]
> Synchronized access at FairScheduler.java:[line 1331]
> Synchronized access at FairScheduler.java:[line 432]
> Synchronized access at FairScheduler.java:[line 328]
> Synchronized access at FairScheduler.java:[line 987]
> {code}
> {code}
>       
> Bug type IS2_INCONSISTENT_SYNC (click for details) 
> In class 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
> Field 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.updateInterval
> Synchronized 75% of the time
> Unsynchronized access at FairScheduler.java:[line 259]
> Synchronized access at FairScheduler.java:[line 1321]
> Synchronized access at FairScheduler.java:[line 1322]
> Synchronized access at FairScheduler.java:[line 1323]
> {code}
> {code}
>       
> Bug type BC_UNCONFIRMED_CAST (click for details) 
> In class 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode
> In method 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSSchedulerNode.reserveResource(SchedulerApplicationAttempt,
>  Priority, RMContainer)
> Actual type 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerApplicationAttempt
> Expected 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FSAppAttempt
> Value loaded from application
> At FSSchedulerNode.java:[line 79]
> {code}



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

Reply via email to