Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-459

Resource leak due to unclosed Table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.7
    • None
    • None

    Description

      In HBaseClusterSingleton.java , there're several places where Table instance returned by HBaseTestingUtility methods (such as createTable) is not closed.

      Here is an example from ensureTable() :

          if (!admin.tableExists(tableName)) {
            htu.createTable(tableName, cfs);
      

      Attachments

        Activity

          People

            renato2099 Renato Javier MarroquĂ­n Mogrovejo
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: