Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2365

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

      1. MR2365.patch
        51 kB
        Siddharth Seth

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development