Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F491D083 for ; Thu, 11 Oct 2012 18:23:04 +0000 (UTC) Received: (qmail 20118 invoked by uid 500); 11 Oct 2012 18:23:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 20073 invoked by uid 500); 11 Oct 2012 18:23:03 -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 20051 invoked by uid 99); 11 Oct 2012 18:23:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 18:23:03 +0000 Date: Thu, 11 Oct 2012 18:23:03 +0000 (UTC) From: "Sandy Ryza (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <417037951.32527.1349979783762.JavaMail.jiratomcat@arcas> In-Reply-To: <242115363.32383.1349978583090.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (MAPREDUCE-4722) LocalJobRunner random ID should not be chosen with Math.abs(rand.nextInt()) 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-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Ryza updated MAPREDUCE-4722: ---------------------------------- Issue Type: Sub-task (was: Bug) Parent: MAPREDUCE-4723 > LocalJobRunner random ID should not be chosen with Math.abs(rand.nextInt()) > --------------------------------------------------------------------------- > > Key: MAPREDUCE-4722 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4722 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: job submission > Affects Versions: 2.0.2-alpha > Reporter: Sandy Ryza > Assignee: Sandy Ryza > > According to findbugs 2, this can cause problems if the randomly generated int is Integer.MIN_VALUE because Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira