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 EF76A115F1 for ; Mon, 18 Aug 2014 22:41:21 +0000 (UTC) Received: (qmail 79399 invoked by uid 500); 18 Aug 2014 22:41:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 79354 invoked by uid 500); 18 Aug 2014 22:41:21 -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 79341 invoked by uid 99); 18 Aug 2014 22:41:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 22:41:21 +0000 Date: Mon, 18 Aug 2014 22:41:21 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11762) Record the class name of Codec in WAL header 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-11762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101446#comment-14101446 ] Andrew Purtell commented on HBASE-11762: ---------------------------------------- Comments on v6 patch: - WALHdrContext should be static - ReaderBase still uses a string returned by initReader instead of the new context class - initAfterCompression should take a context object instead of a string now? - > Record the class name of Codec in WAL header > -------------------------------------------- > > Key: HBASE-11762 > URL: https://issues.apache.org/jira/browse/HBASE-11762 > Project: HBase > Issue Type: Task > Components: wal > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 1.0.0, 2.0.0, 0.98.6 > > Attachments: 11762-v1.txt, 11762-v2.txt, 11762-v4.txt, 11762-v5.txt > > > In follow-up discussion to HBASE-11620, Enis brought up this point: > Related to this, should not we also write the CellCodec that we use in the WAL header. Right now, the codec comes from the configuration which means that you cannot read back the WAL files if you change the codec. > This JIRA is to implement the above suggestion. -- This message was sent by Atlassian JIRA (v6.2#6252)