Siddharth Seth created TEZ-1927:
-----------------------------------
Summary: Change EdgeManagerPlugin APIs to return an abstracted
Range rather than a list of integers
Key: TEZ-1927
URL: https://issues.apache.org/jira/browse/TEZ-1927
Project: Apache Tez
Issue Type: Improvement
Reporter: Siddharth Seth
Assignee: Siddharth Seth
EdgeManagers end up running the following loops.
{code}
for (int i=0; i<getContext().getVertexNumTasks(getContext().getVertexName());
++i) {
pendingTasks.add(Integer.valueOf(i));
}
{code}
Instead, this should be a BitSet or abstracted into a Range interface which can
be used to represent this data more efficiently.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)