Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 16950 invoked from network); 28 Jan 2009 23:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jan 2009 23:17:23 -0000 Received: (qmail 66045 invoked by uid 500); 28 Jan 2009 23:17:22 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 66020 invoked by uid 500); 28 Jan 2009 23:17:22 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 66007 invoked by uid 99); 28 Jan 2009 23:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 15:17:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 23:17:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B4A2234C48B for ; Wed, 28 Jan 2009 15:16:59 -0800 (PST) Message-ID: <1781491781.1233184619621.JavaMail.jira@brutus> Date: Wed, 28 Jan 2009 15:16:59 -0800 (PST) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-903) [shell] Can't set table descriptor attributes when I alter a table In-Reply-To: <1436124219.1222408304272.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668217#action_12668217 ] stack commented on HBASE-903: ----------------------------- +1 I tested it and it works. Nice fix for shell functonality. Only think I'd change, though I would not put this in the way of the commit, is the method name. 'table' is super generic. 'table_attributes' seems a bit long. I'll live if 'table' goes in but maybe you have a better name j-d? > [shell] Can't set table descriptor attributes when I alter a table > ------------------------------------------------------------------ > > Key: HBASE-903 > URL: https://issues.apache.org/jira/browse/HBASE-903 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Fix For: 0.20.0 > > Attachments: hbase-903.patch > > > I wanted to set the compaction filesize attribute but no good: > {code} > hbase(main):005:0> alter 'TestTable', {MAX_FILESIZE => 67108864} > TypeError: can't convert Hash into String > from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/HBase.rb:138:in `hcd' > from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/HBase.rb:138:in `alter' > from /Users/stack/Documents/checkouts/hbase/trunk/bin/../bin/hirb.rb:239:in `alter' > from (hbase):6:in `binding' > hbase(main):006:0> alter 'TestTable', {MAX_FILESIZE => 67108864} > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.