Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3047

Check the size of a relation before adding it to distributed cache in Replicated join

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.1
    • Component/s: None
    • Labels:
      None

      Description

      Right now if someone makes a mistake and put the large relation last, Pig will copy a huge file into distributed cache and it will take a long time before the job eventually fails. It would be better to check before copying the relation that it is of reasonable size.
      <1 GB ?

        Attachments

        1. PIG-3047-3.patch
          14 kB
          Aniket Mokashi
        2. PIG-3047-2.patch
          12 kB
          Aniket Mokashi
        3. fix_pig_3047.diff
          6 kB
          Ido Hadanny
        4. fix_pig_3047_1.diff
          6 kB
          Ido Hadanny

          Activity

            People

            • Assignee:
              aniket486 Aniket Mokashi
              Reporter:
              julienledem Julien Le Dem
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: