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 826DC11136 for ; Wed, 24 Sep 2014 18:23:35 +0000 (UTC) Received: (qmail 32096 invoked by uid 500); 24 Sep 2014 18:23:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 32048 invoked by uid 500); 24 Sep 2014 18:23: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 32035 invoked by uid 99); 24 Sep 2014 18:23:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2014 18:23:35 +0000 Date: Wed, 24 Sep 2014 18:23:35 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12083) Deprecate new HBaseAdmin() in favor of Connection.getAdmin() 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-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146674#comment-14146674 ] Jean-Marc Spaggiari commented on HBASE-12083: --------------------------------------------- While you are on all those modifcations, even if not related to current JIRA, might be nice to have something like {code} ConnectionFactory.createConnection(); {code} Which create a connection with a default config. A shortcut for {code} Configuration conf = HBaseConfiguration.create(); Connection connection = ConnectionFactory.createConnection(conf); HBaseAdmin admin = (HBaseAdmin)connection.getAdmin(); {code} > Deprecate new HBaseAdmin() in favor of Connection.getAdmin() > ------------------------------------------------------------ > > Key: HBASE-12083 > URL: https://issues.apache.org/jira/browse/HBASE-12083 > Project: HBase > Issue Type: Bug > Reporter: Solomon Duskis > Assignee: Solomon Duskis > -- This message was sent by Atlassian JIRA (v6.3.4#6332)