You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Dinesh Chitlangia (JIRA)" <ji...@apache.org> on 2018/11/15 03:23:00 UTC

[jira] [Commented] (HADOOP-14784) [KMS] Improve KeyAuthorizationKeyProvider#toString()

    [ https://issues.apache.org/jira/browse/HADOOP-14784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687439#comment-16687439 ] 

Dinesh Chitlangia commented on HADOOP-14784:
--------------------------------------------

+1 LGTM

> [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
>              Labels: newbie
>         Attachments: HADOOP-14784.001.patch
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org