Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9401

CodecPool: Add counters for number of (de)compressors leased out

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      CodecPool enables reusing compressors/decompressors created. However, the onus is on the user to return the compressors/decompressors to the pool, and can be easily missed.

      It would be quite handy to keep track of the total number of compressors/decompressors created and helper methods to check outstanding (not returned) compressors/decompressors. It immediately allows Hadoop and downstream projects to write unit tests for the same.

        Attachments

        1. hadoop-9401.patch
          9 kB
          Karthik Kambatla
        2. hadoop-9401.patch
          7 kB
          Karthik Kambatla
        3. hadoop-9401.patch
          7 kB
          Karthik Kambatla
        4. hadoop-9401.patch
          7 kB
          Karthik Kambatla
        5. hadoop-9401.patch
          7 kB
          Karthik Kambatla

          Activity

            People

            • Assignee:
              kasha Karthik Kambatla
              Reporter:
              kasha Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: