Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B9F3E68F for ; Mon, 25 Feb 2013 22:58:19 +0000 (UTC) Received: (qmail 57646 invoked by uid 500); 25 Feb 2013 22:58:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 57605 invoked by uid 500); 25 Feb 2013 22:58:14 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 57564 invoked by uid 99); 25 Feb 2013 22:58:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 22:58:14 +0000 Date: Mon, 25 Feb 2013 22:58:14 +0000 (UTC) From: "Tianying Chang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7896) make rename_table working in 92/94 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586416#comment-13586416 ] Tianying Chang commented on HBASE-7896: --------------------------------------- 1. Our cluster was not having secure feature, so I did not consider the ACL part, I will add that part into this rename script. 2. Matteo is right. I think the regionInfo file format was for older version (0.90x). I have made the corresponding changes to make the regionInfo format match the current java code this morning after reading the comments. 3. I have added code to delete the znode for the old table this morning after reading the comments. So now the znode for old table is cleaned up. I did not respond the comments immediately because I am still working on the patch to try to address Matteo's comments. Those are good comments. Sorry for the delay. I will post an updated patch later after I addressed all Matteo's comments. > make rename_table working in 92/94 > ---------------------------------- > > Key: HBASE-7896 > URL: https://issues.apache.org/jira/browse/HBASE-7896 > Project: HBase > Issue Type: Bug > Components: scripts > Affects Versions: 0.92.2, 0.94.5 > Reporter: Tianying Chang > Assignee: Tianying Chang > Fix For: 0.92.2, 0.94.6 > > Attachments: rename_table.rb > > > The rename_table function is very useful for our customers. However, rename_table.rb does not work for 92/94. It has several bugs. It will be useful to fix them so that users can solve their problems. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira