From 51b65370b9457e2b9e65a630b7a15f30210a1dc4 Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Mon, 19 Aug 2019 11:11:17 -0700 Subject: [PATCH] HADOOP-14784. [KMS] Improve KeyAuthorizationKeyProvider#toString(). Contributed by Yeliang Cang. Reviewed-by: Dinesh Chitlangia --- .../crypto/key/kms/server/KeyAuthorizationKeyProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KeyAuthorizationKeyProvider.java b/hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KeyAuthorizationKeyProvider.java index 868db765c2..101591b031 100644 --- a/hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KeyAuthorizationKeyProvider.java +++ b/hadoop-common-project/hadoop-kms/src/main/java/org/apache/hadoop/crypto/key/kms/server/KeyAuthorizationKeyProvider.java @@ -402,7 +402,7 @@ public class KeyAuthorizationKeyProvider extends KeyProviderCryptoExtension { @Override public String toString() { - return provider.toString(); + return this.getClass().getName()+": "+provider.toString(); } }