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

VertexImpl/DAGImpl.checkForCompletion have too many termination cause checks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      There is an if check for each termination cause which makes code long and we need to handle each new termination cause with more code. This could be abstracted into a method that gets termination cause string based on the enum and make this method shorter and stable.

        Attachments

        1. TEZ-2248-3.patch
          14 kB
          Jeff Zhang
        2. TEZ-2248-2.patch
          14 kB
          Jeff Zhang
        3. TEZ-2248-1.patch
          13 kB
          Jeff Zhang

          Activity

            People

            • Assignee:
              zjffdu Jeff Zhang
              Reporter:
              bikassaha Bikas Saha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: