Return-Path: Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: (qmail 20402 invoked from network); 26 Aug 2010 08:05:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Aug 2010 08:05:16 -0000 Received: (qmail 69199 invoked by uid 500); 26 Aug 2010 08:05:16 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 69118 invoked by uid 500); 26 Aug 2010 08:05:14 -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 69110 invoked by uid 99); 26 Aug 2010 08:05:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 08:05:13 +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; Thu, 26 Aug 2010 08:05:13 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7Q84rU6002114 for ; Thu, 26 Aug 2010 08:04:53 GMT Message-ID: <8822526.1151282809893161.JavaMail.jira@thor> Date: Thu, 26 Aug 2010 04:04:53 -0400 (EDT) From: "Edward J. Yoon (JIRA)" To: hama-dev@incubator.apache.org Subject: [jira] Updated: (HAMA-284) Removing hard coded argument for heartbeat() method In-Reply-To: <62078.941282808753941.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-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-284: -------------------------------- Description: The 'acceptNewTasks' argument is hard coded as a true. {code} // TODO - Later, acceptNewTask is to be set by the status of groom server. HeartbeatResponse heartbeatResponse = jobClient.heartbeat(status, justStarted, justInited, true, heartbeatResponseId); // here {code} It should be changed to acceptNewTasks. And if slaves (GroomServer) are unable to accept tasks, the acceptNewTasks should be changed to false. was: The 'acceptNewTasks' argument is hard coded as a true. {code} boolean acceptNewTasks = true; .... // TODO - Later, acceptNewTask is to be set by the status of groom server. HeartbeatResponse heartbeatResponse = jobClient.heartbeat(status, justStarted, justInited, true, heartbeatResponseId); {code} It should be changed to acceptNewTasks. And if slaves (GroomServer) are unable to accept tasks, the acceptNewTasks should be changed to false. > Removing hard coded argument for heartbeat() method > --------------------------------------------------- > > Key: HAMA-284 > URL: https://issues.apache.org/jira/browse/HAMA-284 > Project: Hama > Issue Type: Sub-task > Components: bsp > Affects Versions: 0.2.0 > Reporter: Edward J. Yoon > Fix For: 0.2.0 > > > The 'acceptNewTasks' argument is hard coded as a true. > {code} > // TODO - Later, acceptNewTask is to be set by the status of groom server. > HeartbeatResponse heartbeatResponse = jobClient.heartbeat(status, > justStarted, justInited, true, heartbeatResponseId); // here > {code} > It should be changed to acceptNewTasks. And if slaves (GroomServer) are unable to accept tasks, the acceptNewTasks should be changed to false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.