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

KMS delegation tokens are memory expensive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • kms
    • None

    Description

      We recently saw a number of users reporting high memory consumption in KMS.

      Part of the reason being HADOOP-14445. Without that, the number of kms delegation tokens that zookeeper stores is proportional to the number of KMS servers.

      There are two problems:
      (1) it exceeds zookeeper jute buffer length and operations fail.
      (2) KMS uses more heap memory to store KMS DTs.

      But even with HADOOP-14445, KMS DTs are still expensive. Looking at a heap dump from KMS, the majority of the heap is occupied by znode and KMS DT objects. With the growing number of encrypted clusters and use cases, this is increasingly a problem our users encounter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: