Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 10647 invoked from network); 8 Nov 2010 06:15:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 06:15:00 -0000 Received: (qmail 25330 invoked by uid 500); 8 Nov 2010 06:15:32 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 25151 invoked by uid 500); 8 Nov 2010 06:15:30 -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 25143 invoked by uid 99); 8 Nov 2010 06:15:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:15:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 06:15:29 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA86F9rS015471 for ; Mon, 8 Nov 2010 06:15:09 GMT Message-ID: <12732947.69241289196909005.JavaMail.jira@thor> Date: Mon, 8 Nov 2010 01:15:09 -0500 (EST) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Updated: (HAMA-326) GroomServer should wait until a job finishes In-Reply-To: <19438282.68681289195227292.JavaMail.jira@thor> 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/HAMA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-326: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) removed findbugs warnings and I just committed this. > GroomServer should wait until a job finishes > -------------------------------------------- > > Key: HAMA-326 > URL: https://issues.apache.org/jira/browse/HAMA-326 > Project: Hama > Issue Type: Bug > Components: bsp > Affects Versions: 0.2.0 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Priority: Critical > Fix For: 0.2.0 > > Attachments: HAMA-326.patch > > > {code} > if (bspPeer.localQueue.size() == 0 > && bspPeer.outgoingQueues.size() == 0) > {code} > Currently, If queues are empty, the job will be marked as finished. But, there is some special case like SerializePrinting, which only uses sync() method. In that case, job is running but system alarms as "job is done". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.