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

[KMS] LoadBalancingKMSClientProvider should implement toString()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: kms
    • Labels:
      None

      Description

      KMSClientProvider implements toString() but LoadBalancingKMSClientProvider does not inherit from KMSClientProvider, nor does it implement toString(). So running hadoop key command does not show key provider URL:

      bin/hadoop key list -metadata
      2021-07-21 15:26:43,856 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      Listing keys for KeyProvider: org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider@394a2528

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: