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

Jesse Yates commented on HBASE-8702:
------------------------------------

[~sershe] thanks for taking a look! Yeah, that seems like using the 
ReflectionUtils it would be better.

What I'm really try to get is an easy way to doing custom KeyValue 
(de)serialization to handle special KeyValues. Before, you basically had to 
completely rewrite the SequenceFileLogWriter/Reader (in 0.94). Its not as bad 
for 0.96 where you could use the ProtobufLogReader/Writer, but its still a 
unclean that way to handle custom types.
                
> Make WALEditCodec pluggable
> ---------------------------
>
>                 Key: HBASE-8702
>                 URL: https://issues.apache.org/jira/browse/HBASE-8702
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication, wal
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: 0.98.0, 0.95.2, 0.94.9
>
>         Attachments: hbase-8702-0.94-v0.patch, hbase-8702-trunk-v0.patch
>
>
> WALEditCode needs to be pluggable to support alternative serialziation 
> mechanisms. 
> The open question here is whether to support the alternative codec when doing 
> replication - both clusters would need the codec on the classpath, which has 
> additional overhead and also will be a little bit complicated when making the 
> WAL serialization backwards compatible in 0.94. 
> This is the follow-up to HBASE-8636.

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