Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 E99DC1057E for ; Thu, 6 Feb 2014 10:44:46 +0000 (UTC) Received: (qmail 1934 invoked by uid 500); 6 Feb 2014 10:44:46 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 1819 invoked by uid 500); 6 Feb 2014 10:44:44 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 1802 invoked by uid 99); 6 Feb 2014 10:44:41 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 10:44:41 +0000 Received: from localhost (HELO mail-ob0-f174.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 10:44:41 +0000 Received: by mail-ob0-f174.google.com with SMTP id uy5so1986257obc.33 for ; Thu, 06 Feb 2014 02:44:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=r0dTVhKYm6RpyXKXtpmfobKMbKlkDVN+7tEaMDBOe50=; b=MtzfdTNOvEurRjOWKgXFdEs8jrKiyd+tN+9VBzDkbMVp8wReHl0BESs0M3WCTWn0AN G9U3tLwxIB/chD4aO+zprrFeJx2dFiU2ZjXdymBXwyH2r4geVeZNO8ZHI42UQmE9UOxy l1lo/XZnVT1xMtXWQJl7k+iWIs6w6zRvsHGR0ZoshcNNUN4IpjCLCRHDvuPEZA0gIc3Y Bd+4gizjaOT6oAcwd6635CKr75Y/aBvH3sDQjB/vZ93QeY6rretJ/4cRcCBlQiEt+7Yj RYU9Bp4J1KEM8NSlEOALNBEbKeU0XZh5fCpNb6up0yfiNFBCllBBfihSysCZnikrTF43 Actw== X-Gm-Message-State: ALoCoQlJPCrmCnjWrQqQ1DhkNmqcWGMEWc1wFS+f3q3Ygb6JC/fqkhpPOaKu8ooIAY/IrE5TsZYP MIME-Version: 1.0 X-Received: by 10.182.196.3 with SMTP id ii3mr5982381obc.11.1391683480272; Thu, 06 Feb 2014 02:44:40 -0800 (PST) Received: by 10.60.83.196 with HTTP; Thu, 6 Feb 2014 02:44:40 -0800 (PST) Date: Thu, 6 Feb 2014 19:44:40 +0900 Message-ID: Subject: Bug in SemiClustering example From: "Edward J. Yoon" To: "dev@hama.apache.org" Content-Type: text/plain; charset=UTF-8 SemiClustering unit test passes even though I delete some code in write() method. This means that it doesn't work on distributed environment. Implementation accesses object in memory like threaded program. Who's willing to volunteer for this bug? ---- public void write(DataOutput out) throws IOException { out.writeUTF(semiClusterId); out.writeDouble(semiClusterScore); if (this.semiClusterVertexList == null) { out.writeBoolean(false); } else { out.writeBoolean(true); out.writeInt(semiClusterVertexList.size()); /* System.out.println(semiClusterVertexList.size()); for (Vertex v : semiClusterVertexList) { System.out.println(v.toString()); v.write(out); } */ } out.writeInt(semiClusterContainThis.size()); for (SemiClusterDetails semiClusterContainThi : semiClusterContainThis) semiClusterContainThi.write(out); } -- Best Regards, Edward J. Yoon @eddieyoon