Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85B6A17DF9 for ; Fri, 21 Nov 2014 03:09:35 +0000 (UTC) Received: (qmail 55394 invoked by uid 500); 21 Nov 2014 03:09:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 55352 invoked by uid 500); 21 Nov 2014 03:09:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 55231 invoked by uid 99); 21 Nov 2014 03:09:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 03:09:35 +0000 Date: Fri, 21 Nov 2014 03:09:34 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10671) Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220447#comment-14220447 ] Enis Soztutar commented on HBASE-10671: --------------------------------------- bq. What is reasoning that has RetriesExhaustedException private yet RowTooBigException public? Ditto QuotaExceededException and ThrottlingException Yeah exceptions are hard. I though some clients maybe catching those exceptions, so we cannot rename them for example. But I am not sure what exceptions should be catchable, and what others are not. let me make these Public, since it seems even the base HBaseIOException is Public. bq. In PreemptiveFastFailException you add imports but do not mark the class? For PreemptiveFastFailException and some others, the annotation was there, but it was using the hadoop package, not the hbase package. bq. Base64 is private because? Its general utility? You thinking folks should go elsewhere for this kinda thing? Or you want to remove it (Do we use it anywhere other than in tooling?) I though that it is only used internally. But if useful to clients, it should be ok to do Public. The new patch changes that. > Add missing InterfaceAudience annotations for classes in hbase-common and hbase-client modules > ---------------------------------------------------------------------------------------------- > > Key: HBASE-10671 > URL: https://issues.apache.org/jira/browse/HBASE-10671 > Project: HBase > Issue Type: Sub-task > Components: Client > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 2.0.0, 0.99.2 > > Attachments: hbase-10671_v1.patch, hbase-10671_v2.patch, hbase-10671_v3.patch > > > In this jira, we'll add missing InterfaceAudience annotations to classes in the client visible modules (hbase-client and hbase-common). > Parent jira is for deciding on whether some of the classes should be private or public. -- This message was sent by Atlassian JIRA (v6.3.4#6332)