Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-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 217DF1051D for ; Sun, 1 Jun 2014 14:47:02 +0000 (UTC) Received: (qmail 18603 invoked by uid 500); 1 Jun 2014 14:47:02 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 18555 invoked by uid 500); 1 Jun 2014 14:47:02 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 18547 invoked by uid 500); 1 Jun 2014 14:47:02 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 18497 invoked by uid 99); 1 Jun 2014 14:47:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jun 2014 14:47:02 +0000 Date: Sun, 1 Jun 2014 14:47:01 +0000 (UTC) From: "Chao Shi (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CRUNCH-408) HFileSource does not estimate the size of input correctly when there is a wildcard in path 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/CRUNCH-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chao Shi updated CRUNCH-408: ---------------------------- Attachment: crunch-408.patch > HFileSource does not estimate the size of input correctly when there is a wildcard in path > ------------------------------------------------------------------------------------------ > > Key: CRUNCH-408 > URL: https://issues.apache.org/jira/browse/CRUNCH-408 > Project: Crunch > Issue Type: Bug > Affects Versions: 0.8.2, 0.10.0 > Reporter: Chao Shi > Attachments: crunch-408.patch > > > The cause is that it calls FileSystem#listStatus rather than FileSystem#globStatus to retrieve the list of files under the given path. So the fix is straight forward. -- This message was sent by Atlassian JIRA (v6.2#6252)