hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18766) Make TableSnapshotScanner Audience Private
Date Thu, 14 Sep 2017 09:05:01 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165968#comment-16165968
] 

Chia-Ping Tsai commented on HBASE-18766:
----------------------------------------

Let me put this in alpha3? [~stack]

> 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)

Mime
View raw message