[
https://issues.apache.org/jira/browse/HBASE-18766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-18766:
--------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Pushed to master and branch-2. Don't we need a follow-on so folks have a means
of obtaining a TableSnapshotScanner as per the Enis suggestion? Create a new
issue [~chia7712] ? Thanks.
> Make TableSnapshotScanner Audience Private
> ------------------------------------------
>
> Key: HBASE-18766
> URL: https://issues.apache.org/jira/browse/HBASE-18766
> Project: HBase
> Issue Type: Task
> Reporter: stack
> Assignee: Chia-Ping Tsai
> Labels: beginner
> Fix For: 2.0.0-alpha-3
>
> Attachments: HBASE-18766.v0.patch
>
>
> From HBASE-10462 API cleanup. TableSnapshotScanner should be Audience
> Private. It should not be public. See HBASE-10462 for [~enis] 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:
> bq. 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)