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 8C59917B71 for ; Tue, 19 May 2015 23:24:01 +0000 (UTC) Received: (qmail 30993 invoked by uid 500); 19 May 2015 23:24:01 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30945 invoked by uid 500); 19 May 2015 23:24:01 -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 30933 invoked by uid 99); 19 May 2015 23:24:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 23:24:01 +0000 Date: Tue, 19 May 2015 23:24:01 +0000 (UTC) From: "Lars Francke (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13645) Rename *column methods in MasterObserver to *columnFamily 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-13645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551444#comment-14551444 ] Lars Francke commented on HBASE-13645: -------------------------------------- The Checkstyle warnings are because I annotated the methods in all subclasses of MasterObserver as deprecated but didn't add Javadoc. The normal Javadoc is inherited but the deprecation warning is not. One solution would be to add @inheritDoc + @deprecation warnings everywhere but I think that's overkill. The rest didn't run properly so I'll try to resubmit. > Rename *column methods in MasterObserver to *columnFamily > --------------------------------------------------------- > > Key: HBASE-13645 > URL: https://issues.apache.org/jira/browse/HBASE-13645 > Project: HBase > Issue Type: Improvement > Reporter: Lars Francke > Assignee: Lars Francke > Priority: Minor > Attachments: HBASE-13645.patch, HBASE-13645.patch > > > This being an interface makes it a bit harder on implementors. It'd be easier with Java8 and default implementations. > We could either > # add new *columnFamily methods and deprecate the old ones or > # rename the existing ones without doing a deprecation first. > Implementors would need to change their code in each of those cases. But because we have the {{BaseMasterObserver}} and {{BaseMasterAndRegionObserver}} it'd make things easier for people using those classes if we go with option 1. So that's my preference. > The plan would be to add these methods in 2.0.0 and remove the old ones in 3.0.0. -- This message was sent by Atlassian JIRA (v6.3.4#6332)