Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4417

HBaseAdmin.checkHBaseAvailable() doesn't close ZooKeeper connections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.4, 0.92.0
    • 0.90.5
    • Client
    • None
    • Reviewed

    Description

      HBaseAdmin.checkHBaseAvailable(conf) clones the passed connection, later in HBaseAdmin constructor the connection is cloned again. Thus a new HConnection object with ZooKeeper connections is created.

      Attachments

        1. HBASE-4417-0.90.diff
          2 kB
          Stefan Seelmann
        2. HBASE-4417-0.90.diff.v2
          2 kB
          Stefan Seelmann
        3. HBASE-4417-0.92.diff
          1 kB
          Stefan Seelmann
        4. HBASE-4417-0.92.diff.v2
          1 kB
          Stefan Seelmann

        Activity

          People

            seelmann Stefan Seelmann
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: