Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20169

Print Final Rows Processed in MapOperator

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/hive/blob/ac6b2a3fb195916e22b2e5f465add2ffbcdc7430/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java#L573-L582

      This class emits a log message every time it a certain number of records are processed, but it does not print a final count.

      Overload the MapOperator class's closeOp method to print a final log message providing the total number of rows read by this mapper.

      Attachments

        1. HIVE-20169.4.patch
          1.0 kB
          Bharath Krishna
        2. HIVE-20169.3.patch
          1 kB
          Bharath Krishna
        3. HIVE-20169.2.patch
          1.0 kB
          Bharath Krishna
        4. HIVE-20169.1.patch
          1.0 kB
          Bharath Krishna

        Issue Links

          Activity

            People

              bharos92 Bharath Krishna
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: