hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apekshit Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-11826) Split each tableOrRegionName admin methods into two targetted methods
Date Wed, 04 Nov 2015 21:32:27 GMT

     [ https://issues.apache.org/jira/browse/HBASE-11826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apekshit Sharma updated HBASE-11826:
------------------------------------
    Fix Version/s: 1.0.0

> Split each tableOrRegionName admin methods into two targetted methods
> ---------------------------------------------------------------------
>
>                 Key: HBASE-11826
>                 URL: https://issues.apache.org/jira/browse/HBASE-11826
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Carter
>            Assignee: Carter
>             Fix For: 0.99.0, 1.0.0, 2.0.0
>
>         Attachments: HBASE_11826.patch, HBASE_11826_v2.patch, HBASE_11826_v2.patch, hbase-11826_v3.patch,
hbase-11826_v3.patch
>
>
> Purpose of this is two implement [~enis]'s suggestion to strongly type the methods that
take "tableOrRegionName" as an argument.
> For instance:
> {code}
> void compact(final String tableNameOrRegionName)
> void compact(final byte[] tableNameOrRegionName)
> {code}
> becomes
> {code}
> @Deprecated
> void compact(final String tableNameOrRegionName)
> @Deprecated
> void compact(final byte[] tableNameOrRegionName)
> void compact(TableName table)
> void compactRegion(final byte[] regionName)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message