[ 
https://issues.apache.org/jira/browse/HBASE-11762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099225#comment-14099225
 ] 

Ted Yu commented on HBASE-11762:
--------------------------------

In ProtobufLogReader#initInternal():
{code}
    WALHdrResult walHdrRes = readHeader(builder, stream);
{code}
Looks like Cell Codec class name should be returned from readHeader() so that 
initAfterCompression() can utilize the value.
WALHdrResult will be changed accordingly.

> 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
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 11762-v1.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)

Reply via email to