Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2365

Add counters for FileInputFormat (BYTES_READ) and FileOutputFormat (BYTES_WRITTEN)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.203.0, 0.23.0
    • Component/s: None
    • Labels:
      None

      Description

      MAP_INPUT_BYTES and MAP_OUTPUT_BYTES will be computed using the difference between FileSystem
      counters before and after each next(K,V) and collect/write op.

      In case compression is being used, these counters will represent the compressed data sizes. The uncompressed size will
      not be available.

      This is not a direct back-port of 5710. (Counters will be computed in MapTask instead of in individual RecordReaders).

      0.20.100 ->
      New API -> MAP_INPUT_BYTES will be computed using this method
      Old API -> MAP_INPUT_BYTES will remain unchanged.

      0.23 ->
      New API -> MAP_INPUT_BYTES will be computed using this method
      Old API -> MAP_INPUT_BYTES likely to use this method

        Attachments

        1. MR2365.patch
          51 kB
          Siddharth Seth

          Activity

            People

            • Assignee:
              sseth Siddharth Seth
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: