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

add Ping into HBase server for deprecated GetProtocolVersion

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Later
    • 1.2.2
    • None
    • regionserver
    • None

    Description

      Our HBase service is hosted in AWS. We saw cases where the connection between the client (Asynchbase in our case) and server stop working but did not throw any exception, therefore traffic stuck. So we added a "Ping" feature in AsyncHBase 1.5 by utilizing the GetProtocolVersion() API provided at RS side, if no traffic for given time, we send the "Ping", if no response back for "Ping", we assume the connect is bad and reconnect.

      Now we are upgrading cluster from 94 to 1.2. However, GetProtocolVersion() is deprecated. To be able to support same detect/reconnect feature, we added Ping() in our internal HBase 1.2 branch, and also patched accordingly in Asynchbase 1.7.

      We would like to open source this feature since it is useful for use case in AWS environment.

      Attachments

        1. HBASE-17453-master-fixWhiteSpace.patch
          100 kB
          Tianying Chang
        2. HBASE-17453-master-v2.patch
          100 kB
          Tianying Chang
        3. HBASE-17453-master-v1.patch
          110 kB
          Tianying Chang
        4. HBASE-17453-master.patch
          106 kB
          Tianying Chang
        5. HBASE-17453-1.2.patch
          66 kB
          Tianying Chang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tychang Tianying Chang
            tychang Tianying Chang
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment