From user-return-893-apmail-hama-user-archive=hama.apache.org@hama.apache.org Tue May 21 23:16:53 2013 Return-Path: X-Original-To: apmail-hama-user-archive@www.apache.org Delivered-To: apmail-hama-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D3FFF9A9B for ; Tue, 21 May 2013 23:16:53 +0000 (UTC) Received: (qmail 53784 invoked by uid 500); 21 May 2013 23:16:54 -0000 Delivered-To: apmail-hama-user-archive@hama.apache.org Received: (qmail 53761 invoked by uid 500); 21 May 2013 23:16:54 -0000 Mailing-List: contact user-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hama.apache.org Delivered-To: mailing list user@hama.apache.org Received: (qmail 53750 invoked by uid 99); 21 May 2013 23:16:54 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 23:16:54 +0000 Received: from localhost (HELO mail-ie0-f180.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 23:16:53 +0000 Received: by mail-ie0-f180.google.com with SMTP id ar20so3421799iec.25 for ; Tue, 21 May 2013 16:16:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=xPgAGHaIcIOqayRHGcrB+KsOMxRbdnAOYFRP5RPGkkU=; b=PvzgRUu2bolGrjcohmVhJp7oFU8QIHKPywr8eNzmPu4hT6CUpKhcBI+PN9YQiBNZ5G BUNMb4dS0z1yCugycazCIdKtIGOAZzdOEiezkmx0/j/KW+WfvleE0S5ZI9fBz07dzsOK 8LYbyIM23S7ZrRG6YtAyBnoCVJFalbo2atstKgiAVfj6dEOXNPpHvhhtjBWt/pN7/MNj KDWXFpBp+EAchJ3N6EacVveXYjx8sO6/5de9hZ3MgbYcL4Eg7dmroi7lFfcB0xRWAYns CyD+tfAmdyokI4SySVQmOOq7/1jiHt2oqHmk6l+iyaBxyAThW67A7NS7oZ+BLA2tuO/K cN7g== MIME-Version: 1.0 X-Received: by 10.50.98.106 with SMTP id eh10mr2626357igb.72.1369178213111; Tue, 21 May 2013 16:16:53 -0700 (PDT) Received: by 10.64.27.138 with HTTP; Tue, 21 May 2013 16:16:53 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 08:16:53 +0900 Message-ID: Subject: Re: BSP Task Input/InputSplit Filename From: "Edward J. Yoon" To: "user@hama.apache.org" Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmh3XLP6lZPPQQ3874DU5JxXu5Ou+aW5Vaxr9R7DoogmGeEE83WyRWbtrNC3z6R6AiRAqcr Hi, Short answer is no, we don't provide API for what you are trying to do. However, it can be added easily. See BSPPeerImpl.initInput() method, InputSplit interface and FileSplit classes. Why do you need that function? If there's reasonable necessity, Let's add it together. On Tue, May 21, 2013 at 7:04 PM, Steven van Beelen wrote: > Hi all, > > The title says it: is there a way to retrieve the filename of the > input/inputsplit a BSP Task is working on? I've been looking for some time > in the docs and source files, but cannot seem to find if one is able to > retrieve the filename/pathname from the input used. > > Cheers -- Best Regards, Edward J. Yoon @eddieyoon