Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 78110 invoked from network); 25 Mar 2007 13:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Mar 2007 13:17:54 -0000 Received: (qmail 54608 invoked by uid 500); 25 Mar 2007 13:18:00 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 54581 invoked by uid 500); 25 Mar 2007 13:18:00 -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 54571 invoked by uid 99); 25 Mar 2007 13:18:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Mar 2007 06:18:00 -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; Sun, 25 Mar 2007 06:17:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 593AF714046 for ; Sun, 25 Mar 2007 06:17:32 -0700 (PDT) Message-ID: <7401154.1174828652363.JavaMail.jira@brutus> Date: Sun, 25 Mar 2007 06:17:32 -0700 (PDT) From: "Tom White (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1122) Divide-by-zero exception in chooseTarget In-Reply-To: <5719060.1173990549267.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-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated HADOOP-1122: ------------------------------ Resolution: Fixed Fix Version/s: 0.13.0 Status: Resolved (was: Patch Available) I've just committed this. Thanks Dhruba! > Divide-by-zero exception in chooseTarget > ---------------------------------------- > > Key: HADOOP-1122 > URL: https://issues.apache.org/jira/browse/HADOOP-1122 > Project: Hadoop > Issue Type: Bug > Components: dfs > Reporter: dhruba borthakur > Assigned To: dhruba borthakur > Fix For: 0.13.0 > > Attachments: chooseTargetNPE2.patch > > > 2007-03-15 20:18:02,542 INFO org.apache.hadoop.ipc.Server: IPC Server handler 6 on 8020 call error: java.io.IOException: java.lang.ArithmeticException: / by zero > java.io.IOException: java.lang.ArithmeticException: / by zero > at org.apache.hadoop.dfs.FSNamesystem$ReplicationTargetChooser.chooseTarget(FSNamesystem.java:2809) > at org.apache.hadoop.dfs.FSNamesystem$ReplicationTargetChooser.chooseTarget(FSNamesystem.java:2773) > at org.apache.hadoop.dfs.FSNamesystem.startFile(FSNamesystem.java:724) > at org.apache.hadoop.dfs.NameNode.create(NameNode.java:283) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:336) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:559) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.