{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21943","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21943/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21943/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21943/events","html_url":"https://github.com/apache/spark/pull/21943","id":346633959,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NDUxMjky","number":21943,"title":"[SPARK-24795][Core][FOLLOWUP] Kill all running tasks when a task in a barrier stage fail","user":{"login":"jiangxb1987","id":4784782,"node_id":"MDQ6VXNlcjQ3ODQ3ODI=","avatar_url":"https://avatars1.githubusercontent.com/u/4784782?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangxb1987","html_url":"https://github.com/jiangxb1987","followers_url":"https://api.github.com/users/jiangxb1987/followers","following_url":"https://api.github.com/users/jiangxb1987/following{/other_user}","gists_url":"https://api.github.com/users/jiangxb1987/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangxb1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangxb1987/subscriptions","organizations_url":"https://api.github.com/users/jiangxb1987/orgs","repos_url":"https://api.github.com/users/jiangxb1987/repos","events_url":"https://api.github.com/users/jiangxb1987/events{/privacy}","received_events_url":"https://api.github.com/users/jiangxb1987/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-08-01T14:48:56Z","updated_at":"2018-08-02T07:24:57Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21943","html_url":"https://github.com/apache/spark/pull/21943","diff_url":"https://github.com/apache/spark/pull/21943.diff","patch_url":"https://github.com/apache/spark/pull/21943.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nKill all running tasks when a task in a barrier stage fail in the middle. `TaskScheduler`.`cancelTasks()` will also fail the job, so we implemented a new method `killAllTaskAttempts()` to just kill all running tasks of a stage without cancel the stage/job.\r\n\r\n## How was this patch tested?\r\n\r\nAdd new test cases in `TaskSchedulerImplSuite`."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/409832328","html_url":"https://github.com/apache/spark/pull/21943#issuecomment-409832328","issue_url":"https://api.github.com/repos/apache/spark/issues/21943","id":409832328,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTgzMjMyOA==","user":{"login":"cloud-fan","id":3182036,"node_id":"MDQ6VXNlcjMxODIwMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/3182036?v=4","gravatar_id":"","url":"https://api.github.com/users/cloud-fan","html_url":"https://github.com/cloud-fan","followers_url":"https://api.github.com/users/cloud-fan/followers","following_url":"https://api.github.com/users/cloud-fan/following{/other_user}","gists_url":"https://api.github.com/users/cloud-fan/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-fan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-fan/subscriptions","organizations_url":"https://api.github.com/users/cloud-fan/orgs","repos_url":"https://api.github.com/users/cloud-fan/repos","events_url":"https://api.github.com/users/cloud-fan/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-fan/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T07:24:57Z","updated_at":"2018-08-02T07:24:57Z","author_association":"CONTRIBUTOR","body":"LGTM"}}
{"actor":{"display_login":"cloud-fan"}}