Kishor Patil created STORM-3551:
-----------------------------------
Summary: Fix LocalAssignment Equivalency in Slot for Generice
Resource Aware Scheduler
Key: STORM-3551
URL: https://issues.apache.org/jira/browse/STORM-3551
Project: Apache Storm
Issue Type: Bug
Components: storm-server
Affects Versions: 2.1.0
Reporter: Kishor Patil
Assignee: Kishor Patil
If supervisor defines generic resource then it needs to ignore it from
comparison while assignment is not using such generic resource.
{code}
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)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)