From user-return-864-apmail-hama-user-archive=hama.apache.org@hama.apache.org Mon Apr 29 01:39:36 2013 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 82B4FF6E7 for ; Mon, 29 Apr 2013 01:39:36 +0000 (UTC) Received: (qmail 19739 invoked by uid 500); 29 Apr 2013 01:39:36 -0000 Delivered-To: apmail-hama-user-archive@hama.apache.org Received: (qmail 19621 invoked by uid 500); 29 Apr 2013 01:39:35 -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 19608 invoked by uid 99); 29 Apr 2013 01:39:35 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 01:39:35 +0000 Received: from localhost (HELO mail-ia0-f169.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Apr 2013 01:39:34 +0000 Received: by mail-ia0-f169.google.com with SMTP id l29so5270618iag.0 for ; Sun, 28 Apr 2013 18:39:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=Aiv4EkDl8H0w1uL2ZlIxwbLWIG2E2GZTLs/G2m0K1Nc=; b=PiAp5Ha6ZKfVDz8EMk8xbAJNeWl1mRXkPOPIgjVuInGeK1CUuVU1nLidM4KZA24K7K NeL+Sl+B8GHTvv5mx/H7J2mpbSGMr9vrbq/7Wds4qXwRAKKiUMfW3Q2B1MBrn6Ra+KyT 2Mrsppk96Mw6poko5wde85MF6YvNayu1Fiku5O70WLFezhlxJQ1nSP7F0etS+7TREAZ1 iMkc5Yj1xqu5e5c8MZbMAkP0cSWUzVS8ePJNcKkfTZnKZ3zwAbq8R/PJ9FwY6ykecc8L ryRmzH34gz/ccMKokygyBo7OfBPoNzb6YLBtT/aDSSOV3a5M1nFJnc2MdKGMnWKRY/Cb 4Fkg== MIME-Version: 1.0 X-Received: by 10.50.3.38 with SMTP id 6mr108970igz.44.1367199573879; Sun, 28 Apr 2013 18:39:33 -0700 (PDT) Received: by 10.64.60.198 with HTTP; Sun, 28 Apr 2013 18:39:33 -0700 (PDT) In-Reply-To: <517B97F4.4000701@gmail.com> References: <517B97F4.4000701@gmail.com> Date: Mon, 29 Apr 2013 10:39:33 +0900 Message-ID: Subject: Re: Messages must never be behind the vertex in ID ? What does this mean ? From: "Edward J. Yoon" To: "user@hama.apache.org" Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkXFfMxMx5ODBys5ThIWkNM79Mx0OPvbCJqUHxuS53jiBHC2YnfOW4APpN1ipO7tZ0frSqi with single BSP task? On Sat, Apr 27, 2013 at 6:18 PM, Lyu Xuedong wrote: > Hi all, > > I got this exception when ran my job. Then, I ran the PageRank in > hama-example and found that same data in different order leads to different > result . I modified the vertex reader of PageRank.java and > setInputFormat(TextInputFormat.class) to process a text file, while other > code of PageRank.java remain unchanged . > > If the input file : > > 3\t2\t1
> 2\t1
> 1
> > PageRank runs well . > > > If I deleted the last line (which represents a single page "1") : > > 3\t2\t1
> 2\t1
> > Job failed and I got the exception "Messages must never be behind the vertex > in ID! Current Message ID: 1 vs. 2" > > What's more, If the input file contains only one line : > > 3\t2\t1
> > Job failed with the exception "Messages must never be behind the vertex in > ID! Current Message ID: 1 vs. 3". > > But when I exchanged the situations of "3" and "1" : > > 1\t2\t3
> > It ran well. > > What's wrong ? Do I overlook something or It is a bug ? > > Regards, > Lyu. -- Best Regards, Edward J. Yoon @eddieyoon