Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-328

HCatLoader should report its input size so pig can estimate the number of reducers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • None
    • None

    Description

      PIG-2573 updated the way pig estimates the number of reducers, adding the ability to ask loaders for the input size. HCatLoader needs to report the size of its input so pig can estimate the number of reducers. Currently, since the loader does not report its size, and "db.table" does not match the whitelisted filesystems for pig to look up size itself, size is reported as 0 and 1 reducer is used.

      Attachments

        1. HCATALOG-328_2.patch
          59 kB
          Travis Crawford
        2. HCATALOG-328_3.patch
          62 kB
          Travis Crawford
        3. HCATALOG-328_4.patch
          7 kB
          Travis Crawford
        4. HCATALOG-328.patch
          51 kB
          Travis Crawford

        Activity

          People

            traviscrawford Travis Crawford
            traviscrawford Travis Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: