Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3280

Findbug issue in FairScheduler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • fairscheduler
    • None

    Description

      Several findbug issue:

      	
      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]
      
      	
      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]
      
      	
      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]
      
      	
      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]
      
      	
      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]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xgong Xuan Gong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: