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 03A6D10046 for ; Fri, 14 Jun 2013 16:18:21 +0000 (UTC) Received: (qmail 43124 invoked by uid 500); 14 Jun 2013 16:18:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 43081 invoked by uid 500); 14 Jun 2013 16:18:20 -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 43064 invoked by uid 99); 14 Jun 2013 16:18:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 16:18:20 +0000 Date: Fri, 14 Jun 2013 16:18:20 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-8742) HTableDescriptor Properties not preserved when cloning 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-8742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi reassigned HBASE-8742: -------------------------------------- Assignee: Matteo Bertozzi > HTableDescriptor Properties not preserved when cloning > ------------------------------------------------------ > > Key: HBASE-8742 > URL: https://issues.apache.org/jira/browse/HBASE-8742 > Project: HBase > Issue Type: Bug > Components: snapshots > Affects Versions: 0.94.6.1 > Reporter: Micah Whitacre > Assignee: Matteo Bertozzi > Priority: Minor > Attachments: HBASE-8742-v0.patch > > > When cloning a snapshot to a new table the values[1] set on the original HTableDescriptor are not preserved. > This is because the values are not pulled off and set in the RestoreSnapshotHelper.cloneTableSchema(..)[2] method. > This affects a number of things such as custom properties but also for configured coprocessors for the table. > [1] - http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.html#setValue(byte[], byte[]) > [2] - https://github.com/apache/hbase/blob/0.94.6.1/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java#L582 -- 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