[ 
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.

Reply via email to