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

DataBags created with an initial list of tuples don't get registered as spillable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.11.1, 0.11.2
    • 0.12.0, 0.11.2
    • None
    • None
    • Reviewed

    Description

      DefaultDataBag has a constructor to take ownership of an existing list of tuples as its own contents, but registration for spilling only occurs when adding elements. If a bag starts out big enough to consider spilling, but no new tuples are added to it, it will never be spilled.

      Attachments

        1. PIG-3328.1.patch
          0.5 kB
          Mark Wagner

        Activity

          People

            mwagner Mark Wagner
            mwagner Mark Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: