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

Implement Pig counter to track number of rows for each input files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • None
    • None
    • Reviewed

    Description

      A MR job generated by Pig not only can have multiple outputs (in the case of multiquery) but also can have multiple inputs (in the case of join or cogroup). In both cases, the existing Hadoop counters (e.g. MAP_INPUT_RECORDS, REDUCE_OUTPUT_RECORDS) can not be used to count the number of records in the given input or output. PIG-1299 addressed the case of multiple outputs. We need to add new counters for jobs with multiple inputs.

      Attachments

        1. PIG-1389_1.patch
          35 kB
          Richard Ding
        2. PIG-1389_2.patch
          39 kB
          Richard Ding
        3. PIG-1389.patch
          48 kB
          Richard Ding
        4. PIG-1389.patch
          48 kB
          Richard Ding

        Activity

          People

            rding Richard Ding
            rding Richard Ding
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: