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

Range is not interruptible

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL
    • None

    Description

      Currently Range cannot be interrupted.

      For example, if you start executing

      spark.range(0, A_LOT, 1).crossJoin(spark.range(0, A_LOT, 1)).count()

      and then call

      DAGScheduler.cancellStage(...)

      the execution won't stop.

      Attachments

        Activity

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

          People

            ala.luszczak Ala Luszczak
            ala.luszczak Ala Luszczak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment