Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-513

HFileSource not calculating size correctly for nested pathes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.8.3
    • 0.12.0
    • None
    • None

    Description

      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

      Attachments

        1. CRUNCH-513d.patch
          3 kB
          Micah Whitacre
        2. CRUNCH-513c.patch
          3 kB
          Micah Whitacre
        3. CRUNCH-513b.patch
          1 kB
          Andy Nelson
        4. Crunch-513.patch
          1 kB
          Andy Nelson

        Issue Links

          Activity

            People

              mkwhitacre Micah Whitacre
              anelson425 Andy Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: