hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2308) Fix the bin/rename_table.rb script, make it work again
Date Wed, 10 Mar 2010 21:36:33 GMT

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

View raw message