Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-4772

Accumulators leak memory, both temporarily and permanently

    XMLWordPrintableJSON

Details

    Description

      Accumulators.localAccums is cleared at the beginning of a task, and not at the end.

      This means that any locally accumulated values hang around until another task is run on that thread.

      If for some reason, the thread dies, said values hang around indefinitely.

      This is really only a big issue with very large accumulators.

      Attachments

        Activity

          People

            nkronenfeld Nathan Kronenfeld
            nkronenfeld Nathan Kronenfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified