You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/03/10 22:36:33 UTC

[jira] Updated: (HBASE-2308) Fix the bin/rename_table.rb script, make it work again

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

stack updated HBASE-2308:
-------------------------

    Attachment: 2308.patch

This version will work against a disabled table.  You don't have to shut down the cluster as you used to have to.

So, to use, first disable table.  In shell do this:

hbase> disable 'TABLE_NAME'

Then, run the script from the command-line:

./bin/hbase org.jruby.Main bin/rename_table.rb TABLE_NAME NEW_TABLE_NAME

Then reenable the table by doing below in shell:

hbase> enable 'NEW_TABLE_NAME'

> Fix the bin/rename_table.rb script, make it work again
> ------------------------------------------------------
>
>                 Key: HBASE-2308
>                 URL: https://issues.apache.org/jira/browse/HBASE-2308
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.4, 0.21.0
>
>         Attachments: 2308.patch
>
>
> bin/rename_table.rb script rotted.  Bring it back up to date (Someone asked nicely for it up on IRC).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.