Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECD381769D for ; Wed, 15 Apr 2015 02:19:58 +0000 (UTC) Received: (qmail 85522 invoked by uid 500); 15 Apr 2015 02:19:58 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 85490 invoked by uid 500); 15 Apr 2015 02:19:58 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 85479 invoked by uid 99); 15 Apr 2015 02:19:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 02:19:58 +0000 Date: Wed, 15 Apr 2015 02:19:58 +0000 (UTC) From: "Hudson (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HAMA-949) File splits based on number of input files 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-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495557#comment-14495557 ] Hudson commented on HAMA-949: ----------------------------- FAILURE: Integrated in Hama-trunk #378 (See [https://builds.apache.org/job/Hama-trunk/378/]) HAMA-949: File splits based on number of input files (edwardyoon: rev 1673611) * /hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJobClient.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/FileInputFormat.java * /hama/trunk/core/src/main/java/org/apache/hama/bsp/LocalBSPRunner.java > File splits based on number of input files > ------------------------------------------ > > Key: HAMA-949 > URL: https://issues.apache.org/jira/browse/HAMA-949 > Project: Hama > Issue Type: Improvement > Affects Versions: 0.6.4 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.7.0 > > Attachments: patch.txt > > > I've create multiple input files considering max task capacity of cluster, but it wasn't able to run. Because, currently file splits are determined based on number of blocks. > I don't know why below code has been removed. What if add this again? > {code} > // take the short circuit path if we have already partitioned > if (numSplits == files.length) { > for (FileStatus file : files) { > if (file != null) { > splits.add(new FileSplit(file.getPath(), 0, file.getLen(), > new String[0])); > } > } > return splits.toArray(new FileSplit[splits.size()]); > } > {code} > https://www.mail-archive.com/commits@hama.apache.org/msg00319.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)