hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14769) Remove unused functions and duplicate javadocs from HBaseAdmin
Date Fri, 11 Dec 2015 07:49:11 GMT

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

Appy updated HBASE-14769:
    Release Note: 
- Removes functions from HBaseAdmin which require table name parameter as either byte[] or
String. Use their counterparts which take TableName instead.
- Removes redundant javadocs from HBaseAdmin as they will be automatically inherited from
Admin interface.
- HBaseAdmin is marked Audience.private so it should have been straight forward okay to remove
the functions. But HBaseTestingUtility, which is marked Audience.public had a public function
returning its instance, which moved this decision into gray area. Discussing in the community,
it was decided that it would be okay to do so in this particular case.

> Remove unused functions and duplicate javadocs from HBaseAdmin 
> ---------------------------------------------------------------
>                 Key: HBASE-14769
>                 URL: https://issues.apache.org/jira/browse/HBASE-14769
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Appy
>            Assignee: Appy
>             Fix For: 2.0.0
>         Attachments: HBASE-14769-master-v2.patch, HBASE-14769-master-v3.patch, HBASE-14769-master-v4.patch,
HBASE-14769-master-v5.patch, HBASE-14769-master-v6.patch, HBASE-14769-master-v7.patch, HBASE-14769-master-v8.patch,
HBASE-14769-master-v9.patch, HBASE-14769-master.patch
> HBaseAdmin is marked private, so removing the functions not being used anywhere.
> Also, the javadocs of overridden functions are same as corresponding ones in Admin.java.
Since javadocs are automatically inherited from the interface class, we can remove these redundant
100s of lines.

This message was sent by Atlassian JIRA

View raw message