Our customers need to use rename_table to solve an issue in our production cluster. Since 92 does not have it, we copied it from CDH3. However it does not work. I then found several issues with it, and fixed them. We used it in our production cluster to rename some very big tables. Even when the cluster was shutdown during the rename_table (test purpose), the script will continue the rename and succeed if invoking the same rename command again after cluster is back.
I think it is helpful to have rename_table script handy. I can open a jira and attach my patch.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Stack
Sent: Monday, October 15, 2012 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: status of bin/rename_table.rb
On Mon, Oct 15, 2012 at 8:25 AM, Norbert Burger <[EMAIL PROTECTED]> wrote:
> Hi folks,
> Does anyone have a good working process for renaming tables? From the
> links below, I gather that the bin/rename_table.rb (last included in
> 0.90.x) had a few issues.
> I tried rename_table.rb a few times with some of our larger tables and
> did have some issues with .META., but it's not clear to me if these
> issues were caused by rename_table or not.
The script has gone stale. It is removed in trunk and should have probably been removed earlier.
That said, its pretty basic what it does. What sort of issues are you seeing? Does running disable/enable help?