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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3-alpha
    • 2.1.0-beta
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: