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

Make TableSnapshotScanner Audience Private

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

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha-3, 2.0.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Tags:
      beginner

      Description

      From HBASE-10462 API cleanup. TableSnapshotScanner should be Audience Private. It should not be public. See HBASE-10462 for Enis Soztutar rationale. If private, then there needs to be a way to construct it. It is awkward since we normally construct 'Table' by getting one from a Connection. Enis suggests:

      Maybe we can do a SnapshotConnection which returns a ConnectionTable, which returns the scanner. Since connection is the factory to everything, I think this approach is the most clean.

      Sounds good.

        Attachments

        1. HBASE-18766.v0.patch
          1 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

            • Assignee:
              chia7712 Chia-Ping Tsai
              Reporter:
              stack Michael Stack

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment