Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F19EE4795 for ; Fri, 17 Jun 2011 16:01:12 +0000 (UTC) Received: (qmail 87478 invoked by uid 500); 17 Jun 2011 16:01:11 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 87447 invoked by uid 500); 17 Jun 2011 16:01:11 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 87404 invoked by uid 99); 17 Jun 2011 16:01:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 16:01:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2011 16:01:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2CE5241E4EB for ; Fri, 17 Jun 2011 16:00:48 +0000 (UTC) Date: Fri, 17 Jun 2011 16:00:48 +0000 (UTC) From: "Thomas Jungblut (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <601992832.15335.1308326448180.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1581197259.15318.1308326327535.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HAMA-404) LocalBSPRunner returns wrong superstep numbers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Jungblut updated HAMA-404: --------------------------------- Status: Patch Available (was: Open) > LocalBSPRunner returns wrong superstep numbers > ---------------------------------------------- > > Key: HAMA-404 > URL: https://issues.apache.org/jira/browse/HAMA-404 > Project: Hama > Issue Type: Bug > Affects Versions: 0.2.0 > Reporter: Thomas Jungblut > Assignee: Thomas Jungblut > Priority: Critical > Fix For: 0.3.0 > > Attachments: HAMA-404_v00.patch > > > Superstep is a threadlocal variable in the LocalGroom, so each thread is resposible for itself to increment the superstep after calling sync. > In the old logic it was a non-local variable which where just the first thread should increment it. > Remove the "only first thread updates" logic and let each thread increment the superstep. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira