hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12788) OpensslAesCtrCryptoCodec should log which random number generator is used.
Date Wed, 10 Feb 2016 07:55:18 GMT

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

Uma Maheswara Rao G commented on HADOOP-12788:
----------------------------------------------

{code}
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("Use " + klass.getName() + " as random number generator.");
+      }
{code}
I think the message should be like below?
 "Using "  + klass.getName() + " as random number generator." 

Otherwise +1, thanks for improving logging.

> OpensslAesCtrCryptoCodec should log which random number generator is used.
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-12788
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12788
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Minor
>              Labels: supportability
>         Attachments: HADOOP-12788.001.patch, HADOOP-12788.002.patch
>
>
> {{OpensslAesCtrCryptoCodec}} uses random number generator, for example, {{OsSecureRandom}},
{{OpensslSecureRandom}} or {{SecureRandom}} but it's not clear which one would be loaded at
runtime.
> It would help debugging if we can print a debug message that states which one is loaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message