[ https://issues.apache.org/jira/browse/HBASE-20894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551358#comment-16551358 ]
Ted Yu commented on HBASE-20894: -------------------------------- I was running related unit tests and got the following ? {code} testRetrieveFromFile[0: blockSize=8,192, bucketSizes=null](org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache) Time elapsed: 1.15 sec <<< ERROR! org.apache.hbase.thirdparty.com.google.protobuf.UninitializedMessageException: Message missing required fields: access_counter at org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache.testRetrieveFromFile(TestBucketCache.java:266) testRetrieveFromFile[1: blockSize=16,384, bucketSizes=[I@2ef5e5e3](org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache) Time elapsed: 0.262 sec <<< ERROR! org.apache.hbase.thirdparty.com.google.protobuf.UninitializedMessageException: Message missing required fields: access_counter at org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache.testRetrieveFromFile(TestBucketCache.java:266) {code} Can you check whether access_counter field can be optional ? Thanks > 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, > HBASE-20894.master.001.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)