[ https://issues.apache.org/jira/browse/HDFS-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169646#comment-13169646 ]
Eli Collins commented on HDFS-2335: ----------------------------------- You can remove the imports of SecureRandom from the various users of DFSUtil#getSecureRandom. Otherwise looks great. > DataNodeCluster and NNStorage always pull fresh entropy > ------------------------------------------------------- > > Key: HDFS-2335 > URL: https://issues.apache.org/jira/browse/HDFS-2335 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node, name-node > Reporter: Eli Collins > Assignee: Uma Maheswara Rao G > Attachments: HDFS-2335.patch > > > Jira for giving DataNodeCluster and NNStorage the same treatment as > HDFS-1835. They're not truly cryptographic uses as well. We should also > factor this out to a utility method, seems like the three uses are slightly > different, eg one uses DFSUtil.getRandom and the other creates a new Random > object. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira