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

Sergey Shelukhin commented on HBASE-7413:
-----------------------------------------

The plan is like this: sequence file (current WAL) starts with magic.
New WAL will also start with a different magic and will not be a SequenceFile. 
All creation of SequenceFileLogReader will be thru HLogFactory, right now it 
just takes care of the configurable classes, in new case it will also have to 
tell magics apart and choose the correct reader implementation. Custom user 
implementations will obviously break for PB WAL.
PB WAL will have one PB message per HLog.Entry, writing/reading using 
*Delimited methods.
KVs will be written as byte array, and compression will work in the same way as 
now for them and for families.
On read, the entry will be converted into original HLog.Entry with key and 
value.
                
> Convert WAL to pb
> -----------------
>
>                 Key: HBASE-7413
>                 URL: https://issues.apache.org/jira/browse/HBASE-7413
>             Project: HBase
>          Issue Type: Sub-task
>          Components: wal
>            Reporter: stack
>            Assignee: Sergey Shelukhin
>
> From HBASE-7201

--
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

Reply via email to