Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14688

Intern strings in KeyVersion and EncryptedKeyVersion

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: kms
    • Labels:
      None
    • Target Version/s:

      Description

      This is inspired by Misha Dmitriev's work on HDFS-11383.

      The key names and key version names are usually the same for a bunch of KeyVersion and EncryptedKeyVersion. We should not create duplicate objects for them.

      This is more important to HDFS-10899, where we try to re-encrypt all files' EDEKs in a given EZ. Those EDEKs all has the same key name, and mostly using no more than a couple of key version names.

        Attachments

        1. jxray.report
          91 kB
          Xiao Chen
        2. GC root of the String.png
          134 kB
          Xiao Chen
        3. heapdump analysis.png
          66 kB
          Xiao Chen
        4. HADOOP-14688.01.patch
          2 kB
          Xiao Chen

          Issue Links

            Activity

              People

              • Assignee:
                xiaochen Xiao Chen
                Reporter:
                xiaochen Xiao Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: