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 6566018345 for ; Thu, 30 Apr 2015 02:05:06 +0000 (UTC) Received: (qmail 39427 invoked by uid 500); 30 Apr 2015 02:05:06 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 39385 invoked by uid 500); 30 Apr 2015 02:05:06 -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 39372 invoked by uid 500); 30 Apr 2015 02:05:06 -0000 Delivered-To: apmail-incubator-crunch-dev@incubator.apache.org Received: (qmail 39369 invoked by uid 99); 30 Apr 2015 02:05:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 02:05:06 +0000 Date: Thu, 30 Apr 2015 02:05:06 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CRUNCH-513) HFileSource not calculating size correctly for nested pathes 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-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520698#comment-14520698 ] Josh Wills commented on CRUNCH-513: ----------------------------------- Ah, gotcha. Figured it had to be something like that. I'm about to get on a plane, but I'm happy to run it again with just the second one after I land unless Micah beats me to it. > HFileSource not calculating size correctly for nested pathes > ------------------------------------------------------------ > > Key: CRUNCH-513 > URL: https://issues.apache.org/jira/browse/CRUNCH-513 > Project: Crunch > Issue Type: Bug > Affects Versions: 0.10.0, 0.8.3 > Reporter: Andy Nelson > Attachments: CRUNCH-513b.patch, Crunch-513.patch > > > The cause of this is that getInternalSize[1] does not traverse the child paths to determine the size. > I have the fix in a patch that I will attach but I have not been able to successfully append to the integration tests to see this failure. This issue only appears to be a problem when using the DistributedFileSystem but the tests for HFileSource use RawLocalFileSystem. I see there are additional tests that use the hadoop mini cluster, but I was not able to implement correctly. > [1] https://github.com/apache/crunch/blob/apache-crunch-0.8.3/crunch-hbase/src/main/java/org/apache/crunch/io/hbase/HFileSource.java#L116 -- This message was sent by Atlassian JIRA (v6.3.4#6332)