Return-Path: X-Original-To: apmail-hama-user-archive@www.apache.org Delivered-To: apmail-hama-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCE9D10BF1 for ; Fri, 9 Aug 2013 11:27:30 +0000 (UTC) Received: (qmail 89302 invoked by uid 500); 9 Aug 2013 11:27:29 -0000 Delivered-To: apmail-hama-user-archive@hama.apache.org Received: (qmail 89278 invoked by uid 500); 9 Aug 2013 11:27:27 -0000 Mailing-List: contact user-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hama.apache.org Delivered-To: mailing list user@hama.apache.org Received: (qmail 89260 invoked by uid 99); 9 Aug 2013 11:27:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 11:27:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sanchesbanhos@gmail.com designates 209.85.212.50 as permitted sender) Received: from [209.85.212.50] (HELO mail-vb0-f50.google.com) (209.85.212.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 11:27:16 +0000 Received: by mail-vb0-f50.google.com with SMTP id x14so4030824vbb.9 for ; Fri, 09 Aug 2013 04:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MhtFDOt4q9GhaH2Fyx7iBxVtJfeI+usSagHUr72YPIM=; b=zcYvJp0NiNZIwe2Lzxm1tVm4jrcRircKoqZ1UTC5EBJ9YuAFWR9RQgDjM9We+YX3c+ UKK5TzB20xb/pr2h3UI+RnkN32i06eyjD42zTjQ1MYf97NU31opGgL/iWD6fjvS3jChE aguYUl2CHtzUCj5Zas9nMXab3OvzIi7IfLIbpudjD+H5uVrrmq1ksArPBHpbTaC4AIjZ 1gOR5oyU2wFH7aXAmeltnPIZOuXH88HSOanvQ+1sc1SsSl9mfA2Nwe2XKXyFQgcMXR6y FAFwah3GpnUW32zFubu2gzFLkzOk8HIq59fiNWNgkUeFi1oUjBZsGoc01yyT8v//U0XQ A8sw== MIME-Version: 1.0 X-Received: by 10.58.127.202 with SMTP id ni10mr5436693veb.27.1376047614911; Fri, 09 Aug 2013 04:26:54 -0700 (PDT) Received: by 10.52.26.237 with HTTP; Fri, 9 Aug 2013 04:26:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Aug 2013 07:26:54 -0400 Message-ID: Subject: Re: Error - Messages must never be behind the vertex in ID! Current Message ID: 2 vs. 20 From: Francisco Sanches To: user@hama.apache.org Content-Type: multipart/alternative; boundary=047d7b5d870f47ebeb04e3820daa X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d870f47ebeb04e3820daa Content-Type: text/plain; charset=ISO-8859-1 Hi Mahesh Babu, I had similar problem that your (java.lang.IllegalArgumentException: Messages must never be behind the vertex in ID! Current Message ID: 2 vs. 20 ). In my case the problem was that I tried to send a message to a vertex that was not created. This model of message passing scales better for undirected graphs. I solved this problem by writing a converter that converts directed graphs to undirected graphs. 2013/8/9 Mahesh Babu > Hi Edward, > > In my case vertices are named with numbers. like 1,2,3...etc itself. No > alphabets in the vertex name, it is just 1 to 10000+ nodes identified by > the number itself. > > You think that could be reason ? > > Regards, > Mahesh Babu > > > On Fri, Aug 9, 2013 at 1:58 PM, Edward J. Yoon >wrote: > > > It occurs when the vertices are unsorted. > > > > Please check whether your vertex parser reads correctly, and > > partitioning job was run before the graph job. > > > > On Fri, Aug 9, 2013 at 3:43 PM, Mahesh Babu wrote: > > > Hi, > > > > > > adding more details about the environment. > > > > > > When I run hama-examples-0.6.2.jar with tutorial example/input (berlin > > > example) file it works without any error. > > > > > > Now when I try my own input file which has approximately 10k nodes and > > 39k > > > edges but it fails with: > > > > > > java.lang.IllegalArgumentException: Messages must never be > behind > > the > > > vertex in ID! Current Message ID: 2 vs. 20 > > > > > > What am I doing wrong ? > > > > > > Any help/explanation is appreciated. > > > > > > Regards, > > > Mahesh Babu > > > > > > > > > > > > > > > On Thu, Aug 8, 2013 at 4:25 PM, Mahesh Babu wrote: > > >> > > >> Hi, > > >> > > >> I followed the SSSP example, GraphJob example and getting following > > error: > > >> > > >> 13/08/08 16:01:57 INFO bsp.BSPJobClient: Current supersteps number: 0 > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO > mortbay.log: > > >> Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > > >> org.mortbay.log.Slf4jLog > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO > > >> sync.ZKSyncClient: Initializing ZK Sync Client > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO > > >> sync.ZooKeeperSyncClientImpl: Start connecting to Zookeeper! At > > >> localhost/127.0.0.1:61001 > > >> > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO ipc.Server: > > >> Starting SocketReader > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO ipc.Server: > > IPC > > >> Server Responder: starting > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO ipc.Server: > > IPC > > >> Server listener on 61001: starting > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO > > >> message.HadoopMessageManagerImpl: BSPPeer address:localhost > port:61001 > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO ipc.Server: > > IPC > > >> Server handler 0 on 61001: starting > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO > > >> graph.GraphJobRunner: 4935 vertices are loaded into localhost:61001 > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 ERROR > bsp.BSPTask: > > >> Error running bsp setup and bsp function. > > >> attempt_201308081548_0005_000000_0: > java.lang.IllegalArgumentException: > > >> Messages must never be behind the vertex in ID! Current Message ID: 2 > > vs. 20 > > >> attempt_201308081548_0005_000000_0: at > > >> org.apache.hama.graph.GraphJobRunner.iterate(GraphJobRunner.java:284) > > >> attempt_201308081548_0005_000000_0: at > > >> > > org.apache.hama.graph.GraphJobRunner.doSuperstep(GraphJobRunner.java:229) > > >> attempt_201308081548_0005_000000_0: at > > >> org.apache.hama.graph.GraphJobRunner.bsp(GraphJobRunner.java:133) > > >> attempt_201308081548_0005_000000_0: at > > >> org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:177) > > >> attempt_201308081548_0005_000000_0: at > > >> org.apache.hama.bsp.BSPTask.run(BSPTask.java:146) > > >> attempt_201308081548_0005_000000_0: at > > >> > org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:1262) > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 WARN > > >> message.MessageTransferQueueFactory: Message queue is configured on > > >> deprecated parameter:hama.messenger.queue.class > > >> attempt_201308081548_0005_000000_0: 13/08/08 16:00:49 INFO ipc.Server: > > >> Stopping server on 61001 > > >> > > >> > > >> What could be the reason I am getting this error. > > >> > > >> I am able to run the code in eclipse/standalong environment. However, > > when > > >> I try to run with hama/hadoop pseudo distribution mode it fails. > > >> > > >> Thanks, > > >> Mahesh Babu > > >> > > > > > > > > > > > -- > > Best Regards, Edward J. Yoon > > @eddieyoon > > > -- Francisco Sanches --047d7b5d870f47ebeb04e3820daa--