From dev-return-4068-apmail-giraph-dev-archive=giraph.apache.org@giraph.apache.org Fri Sep 7 22:18:11 2012 Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF7E6D52C for ; Fri, 7 Sep 2012 22:18:10 +0000 (UTC) Received: (qmail 16771 invoked by uid 500); 7 Sep 2012 22:18:08 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 16731 invoked by uid 500); 7 Sep 2012 22:18:08 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 16680 invoked by uid 500); 7 Sep 2012 22:18:08 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 16651 invoked by uid 99); 7 Sep 2012 22:18:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 22:18:08 +0000 Date: Sat, 8 Sep 2012 09:18:08 +1100 (NCT) From: "Hudson (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: <1608381487.52680.1347056288434.JavaMail.jiratomcat@arcas> In-Reply-To: <2111476364.46524.1346963827898.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (GIRAPH-321) Divide by 0 exception 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/GIRAPH-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451062#comment-13451062 ] Hudson commented on GIRAPH-321: ------------------------------- Integrated in Giraph-trunk-Commit #190 (See [https://builds.apache.org/job/Giraph-trunk-Commit/190/]) GIRAPH-321: Divide by 0 exception. (ereisman via aching) (Revision 1382184) Result = SUCCESS aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1382184 Files : * /giraph/trunk/CHANGELOG * /giraph/trunk/src/main/java/org/apache/giraph/graph/LocalityInfoSorter.java > Divide by 0 exception > --------------------- > > Key: GIRAPH-321 > URL: https://issues.apache.org/jira/browse/GIRAPH-321 > Project: Giraph > Issue Type: Bug > Reporter: Avery Ching > Assignee: Eli Reisman > Attachments: GIRAPH-321-1.patch > > > hadoop jar giraph-0.2-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar > org.apache.giraph.GiraphRunner \ > org.apache.giraph.examples.SimplePageRankVertex -w 1 \ > -if org.apache.giraph.examples.LongDoubleFloatDoubleTextInputFormat > -ip graph.txt > -of org.apache.giraph.examples.VertexWithDoubleValueFloatEdgeTextOutputFormat > -op output > where graph.txt has the following content: > 1 2:1.0 3:1.0 4:1.0 > 2 1:1.0 3:1.0 > 3 1:1.0 > 4 1:1.0 3:1.0 > One of the mappers gives throws a divbyzero exception. > java.lang.ArithmeticException: / by zero > at org.apache.giraph.graph.LocalityInfoSorter.prioritizeLocalInputSplits(LocalityInfoSorter.java:107) > at org.apache.giraph.graph.LocalityInfoSorter.(LocalityInfoSorter.java:71) > at org.apache.giraph.graph.BspServiceWorker.reserveInputSplit(BspServiceWorker.java:228) > at org.apache.giraph.graph.BspServiceWorker.loadVertices(BspServiceWorker.java:317) > at org.apache.giraph.graph.BspServiceWorker.setup(BspServiceWorker.java:604) > at org.apache.giraph.graph.GraphMapper.setup(GraphMapper.java:368) > at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:569) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370) > at org.apache.hadoop.mapred.Child$4.run(Child.java:255) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121) > at org.apache.hadoop.mapred.Child.main(Child.java:249) -- 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