Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1927

Change EdgeManagerPlugin APIs to return an abstracted Range rather than a list of integers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      EdgeManagers end up running the following loops.

      for (int i=0; i<getContext().getVertexNumTasks(getContext().getVertexName()); ++i) {
            pendingTasks.add(Integer.valueOf(i));
          }
      

      Instead, this should be a BitSet or abstracted into a Range interface which can be used to represent this data more efficiently.

      Attachments

        Activity

          People

            sseth Siddharth Seth
            sseth Siddharth Seth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: