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

Intern strings in KeyVersion and EncryptedKeyVersion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1
    • kms
    • None

    Description

      This is inspired by misha@cloudera.com'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

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

              Dates

                Created:
                Updated:
                Resolved: