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

Publicly expose HConnectionKey

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

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.92.0
    • 0.92.2, 0.94.1
    • Client
    • None
    • Reviewed

    Description

      HBASE-3777 introduced the concept of a HConnectionKey to quickly identify and compare Configuration instances which lack equals/hashCode values.

      We currently have use cases where being able to key Configuration objects in a similar way would be helpful. An example of this would be maintain a cache of HTablePool instances based on the HConnectionKey instead of the Configuration instance.

      I propose that HConnectionKey be made publicly available instead of its current package scope. Or another possibility would be to move it from being a static inner class to being part of the API.

      Attachments

        1. hbase_6341.patch
          0.7 kB
          Micah Whitacre

        Activity

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

          People

            Unassigned Unassigned
            mkwhitacre Micah Whitacre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment