Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 85668 invoked from network); 5 Jul 2010 23:10:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jul 2010 23:10:46 -0000 Received: (qmail 78425 invoked by uid 500); 5 Jul 2010 23:10:46 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 78193 invoked by uid 500); 5 Jul 2010 23:10:45 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 78177 invoked by uid 99); 5 Jul 2010 23:10:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 23:10:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 23:10:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o65N2ngk011067 for ; Mon, 5 Jul 2010 23:02:49 GMT Message-ID: <22988601.207591278370969601.JavaMail.jira@thor> Date: Mon, 5 Jul 2010 19:02:49 -0400 (EDT) From: "Rares Vernica (JIRA)" To: mapreduce-dev@hadoop.apache.org Subject: [jira] Created: (MAPREDUCE-1915) IndexCache - getIndexInformation - check reduce index Out Of Bounds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org IndexCache - getIndexInformation - check reduce index Out Of Bounds ------------------------------------------------------------------- Key: MAPREDUCE-1915 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1915 Project: Hadoop Map/Reduce Issue Type: Bug Components: tasktracker Affects Versions: 0.20.2 Reporter: Rares Vernica Priority: Trivial When checking if the "reduce" index is out of bounds the check should be info.mapSpillRecord.size() <= reduce instead of: info.mapSpillRecord.size() < reduce Not a big bug since an Out Of Bounds is thrown downstream anyway. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.