Accumulo
  1. Accumulo
  2. ACCUMULO-668

first index block reader not closed in RFile

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      If an RFile is read without index caching, the reader it uses does not get closed. We saw this happen in an RFile unit test, where several Decompressors were not being returned to the CompressorPool. Inside of BCFile.Reader.Reader(...) the cachedDataIndex object never gets closed. The object eventually gets garbage collected, which frees up the resources, but it should be closed to properly return its Decompressor to the pool. This probably has little or no effect on any running instance, but it is nonetheless a bug.

        Activity

        Adam Fuchs created issue -
        Adam Fuchs made changes -
        Field Original Value New Value
        Assignee Adam Fuchs [ afuchs ]
        Adam Fuchs made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.0 [ 12318645 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Adam Fuchs
            Reporter:
            Adam Fuchs
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development