Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB2AF200AC9 for ; Sun, 22 May 2016 18:31:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C9D021609AF; Sun, 22 May 2016 16:31:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 241D1160A06 for ; Sun, 22 May 2016 18:31:13 +0200 (CEST) Received: (qmail 14993 invoked by uid 500); 22 May 2016 16:31:13 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 14800 invoked by uid 99); 22 May 2016 16:31:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 May 2016 16:31:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C7B6F2C1F56 for ; Sun, 22 May 2016 16:31:12 +0000 (UTC) Date: Sun, 22 May 2016 16:31:12 +0000 (UTC) From: "stack (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-15876) Incompatibl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 22 May 2016 16:31:15 -0000 stack created HBASE-15876: ----------------------------- Summary: Incompatibl Key: HBASE-15876 URL: https://issues.apache.org/jira/browse/HBASE-15876 Project: HBase Issue Type: Bug Reporter: stack HBASE-15875 purges the properly deprecated HTable. The method doBulkLoad(Path hfofDir, final HTable table), while it has a deprecated param, the method itself did not get a deprecation label; it is a public method in a public class marked stable. This issue is about getting consensus that it is ok to remove this method used by offline tooling that will break until updated on upgrade to 2.0 w/o a proper deprecation cycle (I think it will be ok to do this -- the benefit of our being able to remove HTable is worth this minor inconvenience). We'll do some ugly patching of this oversight by adding a late deprecation and flagging the removal of this offline method as an incompatible change in 2.0. We'll add the deprecation in a subissue. It is a problem removing doBulkLoad(Path hfofDir, final HTable table) ... since this is a public/stable Class. There is the alternate: public void doBulkLoad(Path hfofDir, final Admin admin, Table table, RegionLocator regionLocator) throws TableNotFoundException, IOException { The former calls the latter. The latter went in here: {code} commit ac95cc1fbb951bb9db96f2738f621d1d7cd45739 Author: tedyu Date: Fri Jan 2 19:48:06 2015 -0800 HBASE-12783 Create efficient RegionLocator implementation (Solomon Duskis) {code} This was added in time for release 1.1.0. So, this method has not gone through a full major version of deprecation. It will break when someone moves to 2.0. But it is offline method. Not the end of the world. -- This message was sent by Atlassian JIRA (v6.3.4#6332)