Wei-Chiu Chuang created HADOOP-14784:
----------------------------------------
Summary: [KMS] Improve KeyAuthorizationKeyProvider#toString()
Key: HADOOP-14784
URL: https://issues.apache.org/jira/browse/HADOOP-14784
Project: Hadoop Common
Issue Type: Improvement
Reporter: Wei-Chiu Chuang
Priority: Trivial
When KMS server starts, it loads KeyProviderCryptoExtension and print the
following message:
{noformat}
2017-08-17 04:57:13,348 INFO org.apache.hadoop.crypto.key.kms.server.KMSWebApp:
Initialized KeyProviderCryptoExtension
EagerKeyGeneratorKeyProviderCryptoExtension: KeyProviderCryptoExtension:
CachingKeyProvider: jceks://file@/var/lib/kms/kms.keystore
{noformat}
However, this is confusing as KeyAuthorizationKeyProvider is loaded by not
shown in this message. KeyAuthorizationKeyProvider#toString should be improved,
so that in addition to its internal provider, also print its own class name
when loaded.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]