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 88EBB9E07 for ; Thu, 23 Feb 2012 19:21:13 +0000 (UTC) Received: (qmail 22425 invoked by uid 500); 23 Feb 2012 19:21:12 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 22394 invoked by uid 500); 23 Feb 2012 19:21:12 -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 22366 invoked by uid 99); 23 Feb 2012 19:21:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 19:21:12 +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; Thu, 23 Feb 2012 19:21:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3794A336B8B for ; Thu, 23 Feb 2012 19:20:49 +0000 (UTC) Date: Thu, 23 Feb 2012 19:20:49 +0000 (UTC) From: "Suraj Menon (Assigned) (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <1664143097.10988.1330024849230.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1005182636.3465.1317213105411.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HAMA-445) Make configurable checkpointing 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-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suraj Menon reassigned HAMA-445: -------------------------------- Assignee: Suraj Menon > Make configurable checkpointing > ------------------------------- > > Key: HAMA-445 > URL: https://issues.apache.org/jira/browse/HAMA-445 > Project: Hama > Issue Type: Sub-task > Components: bsp > Affects Versions: 0.4.0 > Reporter: Edward J. Yoon > Assignee: Suraj Menon > Labels: newbie > Fix For: 0.5.0 > > > We should extend the BSPJob to let the user set the checkpoint intervals. > bq. job.setCheckpointInterval(5); > This method should put the parameter into the configuration of the job with a meaningful key, e.G. "bsp.checkpoint.interval". > In the BSPPeerImpl we should check if this interval has been reached and make the checkpointing accordingly. > Checkpointing gets called in BSPPeerImpl#sync(), there is already a condition which checks if checkpointing is enabled. > Plus points: > If you can provide an additional method in BSPJob that let's the user enable or disable checkpointing. Hint: Configuration key is: "bsp.checkpoint.enabled". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira