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 4C51E11787 for ; Wed, 3 Sep 2014 22:01:54 +0000 (UTC) Received: (qmail 22625 invoked by uid 500); 3 Sep 2014 22:01:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22589 invoked by uid 500); 3 Sep 2014 22:01:54 -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 22576 invoked by uid 99); 3 Sep 2014 22:01:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 22:01:54 +0000 Date: Wed, 3 Sep 2014 22:01:54 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11825) Create Connection and ConnectionManager 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-11825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-11825: ---------------------------------- Fix Version/s: 2.0.0 0.99.0 > Create Connection and ConnectionManager > --------------------------------------- > > Key: HBASE-11825 > URL: https://issues.apache.org/jira/browse/HBASE-11825 > Project: HBase > Issue Type: Improvement > Reporter: Carter > Assignee: Carter > Fix For: 0.99.0, 2.0.0 > > > This is further cleanup of the HBase interface for 1.0 after implementing the new Table and Admin interfaces. Following Enis's guidelines in HBASE-10602, this JIRA will generate a new ConnectionManager to replace HCM and Connection to replace HConnection. > For more detail, this JIRA intends to implement this portion: > {code} > interface Connection extends Closeable{ > Table getTable(), and rest of HConnection methods > getAdmin() > // no deprecated methods (cache related etc) > } > @Deprecated > interface HConnection extends Connection { > @Deprecated > HTableInterface getTable() > // users are encouraged to use Connection > } > class ConnectionManager { > createConnection(Configuration) // not sure whether we want a static factory method to create connections or a ctor > } > @Deprecated > class HCM extends ConnectionManager { > // users are encouraged to use ConnectionManager > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)