Rui Li created STORM-3589:
-----------------------------

             Summary: Iterator in BaseResourceStrategy is potentially buggy
                 Key: STORM-3589
                 URL: https://issues.apache.org/jira/browse/STORM-3589
             Project: Apache Storm
          Issue Type: Improvement
            Reporter: Rui Li
            Assignee: Rui Li


[https://github.com/apache/storm/blame/master/storm-server/src/main/java/org/apache/storm/scheduler/resource/strategies/scheduling/BaseResourceAwareStrategy.java#L280]

We should probably only peek but not remove value from nodeIterator in 
hasNext() function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to