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

Optional min/max/avg aggr. task counters reported to HistoryLoggingService at final counter aggr.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      Consumers of HistoryLoggingService reported counters are currently required to compute any task-level aggregations other than "sum". This is inefficient as Tez is already "scanning" over this data. Computing incremental aggregates shouldn't require additional scans by ATS consumers.

      Provide an option for Task counter aggregations other than "sum". Computation of these extra counters can be turned on/off.

      The option will generate "synthetic" counters at final aggregation time for reporting to HistoryLoggingService, e.g. MAX_GC_TIME_MILLIS.

      Only incremental aggregations will be supported (min/max/avg). Aggregation computation will be folded into the existing "aggregation loop" beginning at VertexImpl.incrTaskCounters.

      Extra aggregations will only be supported during final counter aggregation.

      Aggregations will only include the "bestAttempt" for each task.

      A design doc will be provided.

      Because final task aggregation holds a lock, a performance report will be provided.

      Attachments

        1. TEZ-3911.001.patch
          8 kB
          Vineet Garg
        2. TEZ-3911.002.patch
          9 kB
          Vineet Garg
        3. TEZ-3911.003.patch
          13 kB
          Vineet Garg
        4. TEZ-3911.004.patch
          17 kB
          Vineet Garg
        5. TEZ-3911.005.patch
          31 kB
          Vineet Garg
        6. TEZ-3911.006.patch
          34 kB
          Vineet Garg
        7. TEZ-3911.007.patch
          34 kB
          Vineet Garg

        Activity

          People

            vgarg Vineet Garg
            ewohlstadter Eric Wohlstadter
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: