Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3551

Fix LocalAssignment Equivalency in Slot for Generice Resource Aware Scheduler

    XMLWordPrintableJSON

Details

    Description

      If supervisor defines generic resource then it needs to ignore it from comparison while assignment is not using such generic resource.

       

      
      2019-12-03 21:02:10.635 o.a.s.d.s.Slot SLOT_6726 [INFO] SLOT 6726: Assignment Changed from LocalAssignment(topology_id:TEST-WordCount-281-1570127542, executors:[ExecutorInfo(task_start:261, task_end:261), ExecutorInfo(task_start:188, task_end:188)], resources:WorkerResources(mem_on_heap:10000.0, mem_off_heap:0.0, cpu:400.0, shared_mem_on_heap:0.0, shared_mem_off_heap:0.0, resources:\{offheap.memory.mb=0.0, onheap.memory.mb=10000.0, cpu.pcore.percent=400.0}, shared_resources:{}), owner:bud_storm) to LocalAssignment(topology_id:TEST-WordCount-281-1570127542, executors:[ExecutorInfo(task_start:261, task_end:261), ExecutorInfo(task_start:188, task_end:188)], resources:WorkerResources(mem_on_heap:10000.0, mem_off_heap:0.0, cpu:400.0, shared_mem_on_heap:0.0, shared_mem_off_heap:0.0, resources:\{offheap.memory.mb=0.0, network.resource.units=0.0, onheap.memory.mb=10000.0, cpu.pcore.percent=400.0}, shared_resources:{}), owner:bud_storm)
      
      

      Attachments

        Issue Links

          Activity

            People

              kishorvpatil Kishor Patil
              kishorvpatil Kishor Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m