[
https://issues.apache.org/jira/browse/HBASE-20894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548330#comment-16548330
]
Vladimir Rodionov commented on HBASE-20894:
-------------------------------------------
I was asked some times ago to replace all java serialization code in
Backup&Restore module with protobuf stuff. The result:
# generated code increased total code size by 50%
# glue code in the module to serialize/deserialize objects is more complex now
So, in general, I am not a proponent of protobuf, especially for internal (not
public) API. So, yes, I do not think that moving *everything* to protobuf is a
right approach, but, of course, this is only my humble opinion.
> Move BucketCache from java serialization to protobuf
> ----------------------------------------------------
>
> Key: HBASE-20894
> URL: https://issues.apache.org/jira/browse/HBASE-20894
> Project: HBase
> Issue Type: Task
> Components: BucketCache
> Affects Versions: 2.0.0
> Reporter: Mike Drob
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HBASE-20894.WIP-2.patch, HBASE-20894.WIP.patch
>
>
> We should use a better serialization format instead of Java Serialization for
> the BucketCache entry persistence.
> Suggested by Chris McCown, who does not appear to have a JIRA account.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)