HBase
  1. HBase
  2. HBASE-5466

Opening a table also opens the metatable and never closes it.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.5, 0.92.0
    • Fix Version/s: 0.90.7, 0.92.1, 0.94.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Having upgraded to CDH3U3 version of hbase we found we had a zookeeper connection leak, tracking it down we found that closing the connection will only close the zookeeper connection if all calls to get the connection have been closed, there is incCount and decCount in the HConnection class,

      When a table is opened it makes a call to the metascanner class which opens a connection to the meta table, this table never gets closed.

      This caused the count in the HConnection class to never return to zero meaning that the zookeeper connection will not close when we close all the tables or calling
      HConnectionManager.deleteConnection(config, true);

      1. MetaScanner_HBASE_5466(3).patch
        3 kB
        Ashley Taylor
      2. MetaScanner_HBASE_5466(2).patch
        3 kB
        Ashley Taylor
      3. MetaScanner_HBASE_5466.patch
        3 kB
        Ashley Taylor

        Activity

        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jonathan Hsieh made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        Ted Yu made changes -
        Fix Version/s 0.90.7 [ 12319481 ]
        Ted Yu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ted Yu made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.92.1 [ 12318551 ]
        Ted Yu made changes -
        Assignee Ashley Taylor [ ashleyt ]
        Ashley Taylor made changes -
        Attachment MetaScanner_HBASE_5466(3).patch [ 12515845 ]
        Ashley Taylor made changes -
        Attachment MetaScanner_HBASE_5466(2).patch [ 12515823 ]
        Ashley Taylor made changes -
        Attachment MetaScanner_HBASE_5466.patch [ 12515817 ]
        Ashley Taylor made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.92.0 [ 12314223 ]
        Affects Version/s 0.90.5 [ 12317145 ]
        Ashley Taylor created issue -

          People

          • Assignee:
            Ashley Taylor
            Reporter:
            Ashley Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development