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 12D4590F0 for ; Sat, 17 Mar 2012 17:45:59 +0000 (UTC) Received: (qmail 58063 invoked by uid 500); 17 Mar 2012 17:45:58 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58034 invoked by uid 500); 17 Mar 2012 17:45:58 -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 58025 invoked by uid 99); 17 Mar 2012 17:45:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 17:45:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 17:45:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D145B241F7 for ; Sat, 17 Mar 2012 17:45:37 +0000 (UTC) Date: Sat, 17 Mar 2012 17:45:37 +0000 (UTC) From: "Ted Yu (Reopened) (JIRA)" To: issues@hbase.apache.org Message-ID: <2000092454.28337.1332006337858.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <755137747.24885.1331910579624.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (HBASE-5592) Make it easier to get a table from shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu reopened HBASE-5592: --------------------------- Jesse and I object to this going into 0.92 > Make it easier to get a table from shell > ---------------------------------------- > > Key: HBASE-5592 > URL: https://issues.apache.org/jira/browse/HBASE-5592 > Project: HBase > Issue Type: Improvement > Components: shell > Affects Versions: 0.94.0 > Reporter: Ben West > Assignee: Ben West > Priority: Trivial > Labels: shell > Fix For: 0.92.2, 0.94.0 > > Attachments: publicTable.patch > > > The one argument constructor to HTable was removed at some point, which means that you now have to pass in a Configuration to instantiate an HTable. This is annoying for me when I create quick scripts. > This JIRA is a tiny patch which lets you get an HTable instance in the shell by doing > {code}foo_table = @shell.hbase_table('foo').table{code} > Basically, it is changing table to be a public member rather than a private one. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira