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] [Updated] (HBASE-19713) Enable TestInterfaceAudienceAnnotations
Date Sat, 06 Jan 2018 18:56:00 GMT

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

Chia-Ping Tsai updated HBASE-19713:
    Release Note: 
All classes, which are in 
a) hbase-server,
b) hbase-client, 
c) hbase-replication,
d) hbase-mapreduce,
e) hbase-http,
f) hbase-thrift,
g) hbase-common,
h) hbase-procedure,
i) hbase-endpoint,
j) hbase-rest,
k) and hbase-zookeeper,
must obey the following rules.

1. Public class MUST have the InterfaceAudience annotation
2. The class having InterfaceAudience.Public must NOT have InterfaceStability
3. The class having InterfaceAudience.LimitedPrivate MUST have InterfaceStability unless InterfaceAudience.LimitedPrivate
consists of HBaseInterfaceAudience.Tools or HBaseInterfaceAudience.Config
4. All classes extending the o.a.h.u.Tool must have InterfaceAudience.LimitedPrivate and HBaseInterfaceAudience.Tools
5. The Public class having InterfaceAudience.Public/LimitedPrivate CAN’T use protobuf object
as parameter and return type unless the class is denoted as either HBaseInterfaceAudience.TOOLS
or HBaseInterfaceAudience.CONFIG

Add two annotations

1. HBaseInterfaceAudience.Hive - The TokenUtil is exposed as Public for Hive
2. HBaseInterfaceAudience.ProtobufExposed- used to denote the classes which are allowed to
use protobuf object in return type or parameter

> Enable TestInterfaceAudienceAnnotations
> ---------------------------------------
>                 Key: HBASE-19713
>                 URL: https://issues.apache.org/jira/browse/HBASE-19713
>             Project: HBase
>          Issue Type: Task
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Critical
>             Fix For: 2.0.0
>         Attachments: HBASE-19713.v0.patch
> Make sure TestInterfaceAudienceAnnotations pass before 2.0 release.

This message was sent by Atlassian JIRA

View raw message