Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 32019 invoked from network); 23 Mar 2007 22:12:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 22:12:58 -0000 Received: (qmail 96582 invoked by uid 500); 23 Mar 2007 22:13:03 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 96522 invoked by uid 500); 23 Mar 2007 22:13:02 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 96486 invoked by uid 99); 23 Mar 2007 22:13:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 15:13:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 15:12:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 84B65714070 for ; Fri, 23 Mar 2007 15:12:32 -0700 (PDT) Message-ID: <29305353.1174687952538.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 15:12:32 -0700 (PDT) From: "Hairong Kuang (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1136) exception in UnderReplicatedBlocks:add when ther are more replicas of a block than required In-Reply-To: <10615566.1174410392157.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hairong Kuang updated HADOOP-1136: ---------------------------------- Fix Version/s: 0.13.0 Affects Version/s: 0.12.2 Status: Patch Available (was: Open) > exception in UnderReplicatedBlocks:add when ther are more replicas of a block than required > ------------------------------------------------------------------------------------------- > > Key: HADOOP-1136 > URL: https://issues.apache.org/jira/browse/HADOOP-1136 > Project: Hadoop > Issue Type: Bug > Affects Versions: 0.12.2 > Reporter: dhruba borthakur > Assigned To: Hairong Kuang > Fix For: 0.13.0 > > Attachments: neededReplicationAdd.patch > > > I was running a random writer followed by a sort when I saw this condition: > Exception in thread "org.apache.hadoop.dfs.FSNamesystem$ReplicationMonitor@187814" java.lang.ArrayIndexOutOfBoundsException: 3 > at org.apache.hadoop.dfs.FSNamesystem$UnderReplicatedBlocks.add(FSNamesystem.java:447) > at org.apache.hadoop.dfs.FSNamesystem$UnderReplicatedBlocks.add(FSNamesystem.java:464) > at org.apache.hadoop.dfs.FSNamesystem.processPendingReplications(FSNamesystem.java:1891) > at org.apache.hadoop.dfs.FSNamesystem$ReplicationMonitor.run(FSNamesystem.java:1795) > at java.lang.Thread.run(Thread.java:619) > processPendingReplications is invoking neededReplications.add(). The add method then invokes add(block, 3, 4). This add method calls getPriority and that returns 3. Now, the call to priorityQueues[3].add() throws an OutOfBoundsException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.