FAQ
[ https://issues.apache.org/jira/browse/HBASE-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-903:
-------------------------------------

Attachment: hbase-903.patch

Patch that changes "alter" so it accepts something like :

{code}
alter 't1', {METHOD => 'table', MAX_FILESIZE => '10485760', MEMCACHE_FLUSHSIZE => '1048576', READONLY => 'true'}
{code}
[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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 9 | next ›
Discussion Overview
groupdev @
categorieshbase, hadoop
postedSep 26, '08 at 5:52a
activeJan 31, '09 at 9:28p
posts9
users1
websitehbase.apache.org

1 user in discussion

Jean-Daniel Cryans (JIRA): 9 posts

People

Translate

site design / logo © 2022 Grokbase