Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 52203 invoked from network); 16 Mar 2010 19:40:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 19:40:48 -0000 Received: (qmail 65797 invoked by uid 500); 16 Mar 2010 19:40:48 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 65770 invoked by uid 500); 16 Mar 2010 19:40:48 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 65758 invoked by uid 99); 16 Mar 2010 19:40:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 19:40:48 +0000 X-ASF-Spam-Status: No, hits=-1031.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 19:40:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A99B234C495 for ; Tue, 16 Mar 2010 19:40:27 +0000 (UTC) Message-ID: <1861399546.296521268768427435.JavaMail.jira@brutus.apache.org> Date: Tue, 16 Mar 2010 19:40:27 +0000 (UTC) From: "Tamas Sarlos (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1593) [Rumen] Improvements to random seed generation In-Reply-To: <584164053.213981268346987203.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamas Sarlos updated MAPREDUCE-1593: ------------------------------------ Attachment: MAPREDUCE-1593-20100311-dup.patch Resubmitting the same patch as Hudson's link to the test report is a 404 > [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 > Assignee: Tamas Sarlos > Priority: Trivial > Fix For: 0.21.0, 0.22.0 > > Attachments: MAPREDUCE-1593-20100311-dup.patch, MAPREDUCE-1593-20100311.patch > > > 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.