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

HBaseAdmin should perform validation of connection it holds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None
    • Reviewed

    Description

      Through HBASE-3777, HConnectionManager reuses the connection to HBase servers.
      One challenge, discovered in troubleshooting HBASE-4052, is how we invalidate connection(s) to server which gets restarted.
      There're at least two ways.
      1. HConnectionManager utilizes background thread(s) to periodically perform validation of connections in HBASE_INSTANCES and remove stale connection(s).
      2. Allow HBaseClient (including HBaseAdmin) to provide feedback to HConnectionManager.

      The solution can be a combination of both of the above.

      Attachments

        1. 4087-v4.txt
          6 kB
          Ted Yu
        2. 4087-v3.txt
          5 kB
          Ted Yu
        3. 4087-v2.txt
          7 kB
          Ted Yu
        4. 4087.txt
          6 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: