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 DABCF76AF for ; Tue, 29 Nov 2011 03:40:13 +0000 (UTC) Received: (qmail 3193 invoked by uid 500); 29 Nov 2011 03:40:13 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 3090 invoked by uid 500); 29 Nov 2011 03:40:08 -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 3022 invoked by uid 99); 29 Nov 2011 03:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 03:40:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thomas.jungblut@googlemail.com designates 209.85.210.41 as permitted sender) Received: from [209.85.210.41] (HELO mail-pz0-f41.google.com) (209.85.210.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 03:39:59 +0000 Received: by pzk37 with SMTP id 37so8291654pzk.0 for ; Mon, 28 Nov 2011 19:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=35tGoM8mWYMyL+XQktv2A1qgkYgjB5Vf0QWlK/TGcr4=; b=icyn3xMJ/kEdfOmIOy2f+HedUq8wZfHq5vWQJ7F6ilUhdJxrIhL8rxEA2Xv5mxS58Q ImiVjeNW4XkuiPFapZibMsrbResRnJrE7nqO8YANWHbRV2Nx8dIKYR0QgMItji1QLF+f 8IEM2oRzHfSYiKgl/r+Qctxz8Uc2Go6w0y4LU= MIME-Version: 1.0 Received: by 10.68.35.103 with SMTP id g7mr60119592pbj.53.1322537978268; Mon, 28 Nov 2011 19:39:38 -0800 (PST) Received: by 10.68.52.97 with HTTP; Mon, 28 Nov 2011 19:39:38 -0800 (PST) Date: Tue, 29 Nov 2011 04:39:38 +0100 Message-ID: Subject: Reset Input RecordReader From: Thomas Jungblut To: hama-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=bcaec51ddbf7658aac04b2d75e99 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51ddbf7658aac04b2d75e99 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I need some kind of reset-logic for the input of a BSP Job. It should be quite easy to add: - add a method called resetInput() in BSPPeer - in concrete implementation it just closes the input split and opens it again If you're interested why I need this, I'm currently writing a k-means clustering in BSP. I need to iterate over all vectors from the input and measure distance against a set of centers in each superstep, so it would help me to "reset" the input. Do you think I can add this right away into the trunk? -- Thomas Jungblut Berlin --bcaec51ddbf7658aac04b2d75e99--