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

Remove unnecessary contention on locks by getDag, getTask, getVertex etc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      There's a lot of unnecessary contention on the dag lock when trying to find a task or vertex. Likewise, there's likely contention on Vertex locks. A lot of this is avoidable. One simple fix would be to make the dag / vertex etc available in Tasks.
      appContext.getCurrentDag doesn't seem to be thread safe either.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sseth Siddharth Seth
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: