[Rumen] Improvements to random seed generation
-----------------------------------------------
Key: MAPREDUCE-1593
URL: https://issues.apache.org/jira/browse/MAPREDUCE-1593
Project: Hadoop Map/Reduce
Issue Type: Improvement
Affects Versions: 0.21.0, 0.22.0
Reporter: Tamas Sarlos
Priority: Trivial
Fix For: 0.21.0, 0.22.0
RandomSeedGenerator introduced in MAPREDUCE-1306 could be more efficient by
reusing the MD5 object across calls. Wrapping the MD5 in a ThreadLocal makes
the call thread safe as well. Neither of these is an issue with the current
client, the mumak simulator, but the changes are small and make the code more
useful in the future. Thanks to Chris Douglas for the suggestion.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.