[
https://issues.apache.org/jira/browse/CRUNCH-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Micah Whitacre updated CRUNCH-513:
----------------------------------
Attachment: CRUNCH-513d.patch
There was an error in the test. Will merge shortly.
> 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
> Assignee: Micah Whitacre
> Fix For: 0.12.0
>
> Attachments: CRUNCH-513b.patch, CRUNCH-513c.patch, CRUNCH-513d.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)