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

Unordered: Fix wrong stats being sent out in the last event, when final merge is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      When final merge is disabled (without pipelining), wrong stats was sent out in the last event.

      It was based on numRecordsPerPartition which contains the overall partition data. It should be ideally be based on the spill result and its buffers.

      Also, finalSpill was unncessarily sending events when no data was present (i.e, when currentBuffer didn't have any data). This can be optimized to reduce the number of events being sent across.

      Attachments

        1. TEZ-3769.1.patch
          28 kB
          Rajesh Balamohan
        2. TEZ-3769.2.patch
          27 kB
          Rajesh Balamohan
        3. TEZ-3769.3.patch
          28 kB
          Rajesh Balamohan

        Activity

          People

            rajesh.balamohan Rajesh Balamohan
            rajesh.balamohan Rajesh Balamohan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: