Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20894

Move BucketCache from java serialization to protobuf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 3.0.0-alpha-1, 2.3.0
    • BucketCache
    • None
    • Incompatible change
    • Hide
      For users who have configured hbase.bucketcache.ioengine with either the file:, files:, or mmap: prefix, and configured it to be persistent via the hbase.bucketcache.persistent.path property, the serialization format of the bucket cache has changed between versions. The old state will not be read during startup, and there is currently no migration path. The impact is expected to be minimal, however, since the cache will rebuild over time as access patterns dictate.
      Show
      For users who have configured hbase.bucketcache.ioengine with either the file:, files:, or mmap: prefix, and configured it to be persistent via the hbase.bucketcache.persistent.path property, the serialization format of the bucket cache has changed between versions. The old state will not be read during startup, and there is currently no migration path. The impact is expected to be minimal, however, since the cache will rebuild over time as access patterns dictate.

    Description

      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.

      Attachments

        1. 0001-Write-the-CacheableDeserializerIdManager-index-into-.patch
          13 kB
          Michael Stack
        2. HBASE-20894.master.001.patch
          19 kB
          Mike Drob
        3. HBASE-20894.master.002.patch
          20 kB
          Mike Drob
        4. HBASE-20894.master.003.patch
          24 kB
          Mike Drob
        5. HBASE-20894.master.004.patch
          37 kB
          Mike Drob
        6. HBASE-20894.master.005.patch
          37 kB
          Mike Drob
        7. HBASE-20894.master.006.patch
          37 kB
          Mike Drob
        8. HBASE-20894.WIP.patch
          3 kB
          Mike Drob
        9. HBASE-20894.WIP-2.patch
          13 kB
          Mike Drob

        Issue Links

          Activity

            People

              mdrob Mike Drob
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: