Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4757

Job stats on successfully read/output records wrong with multiple inputs/outputs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • tez
    • None
    • Reviewed

    Description

      TezVertexStats uses TaskCounter.INPUT_RECORDS_PROCESSED to display records read from MRInput. But in cases of replicate join or scalar it also includes replicate join input. Need to have a pig specific counter (MULTI_INPUTS_RECORD_COUNTER) in POSimpleTezLoad.

      TezVertexStats uses TaskCounter.OUTPUT_RECORDS to display records stored to MROutput if there is single store. If there are multiple stores it uses MULTI_STORE_RECORD_COUNTER and there are no issues. If there is a single store with another output, then value from OUTPUT_RECORDS is wrong. Need to use MULTI_STORE_RECORD_COUNTER for all cases even if there is no multiple store.

      Attachments

        1. PIG-4757-1.patch
          11 kB
          Rohini Palaniswamy
        2. PIG-4757-2.patch
          12 kB
          Rohini Palaniswamy
        3. PIG-4757-3.patch
          17 kB
          Rohini Palaniswamy

        Activity

          People

            rohini Rohini Palaniswamy
            rohini Rohini Palaniswamy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: