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

History Server would OOM due to unlimited TaskUIData in some stages

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2, 1.6.0, 2.0.0
    • 2.0.1, 2.1.0
    • Web UI
    • None

    Description

      History Server will load all tasks in a stage, which would cause memory leak if tasks occupy too many memory.

      In the following example, a single application would consume 1.1G memory of History Sever.

      I think we should limit tasks memory usages by adding spark.ui.retainedTasks.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ajbozarth Alex Bozarth
            zheng.tan Zheng Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment