{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12258","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12258/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12258/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12258/events","html_url":"https://github.com/apache/spark/pull/12258","id":146848406,"number":12258,"title":"[SPARK-14485][CORE] ignore task finished for executor lost and removed by driver","user":{"login":"zhonghaihua","id":4409429,"avatar_url":"https://avatars.githubusercontent.com/u/4409429?v=3","gravatar_id":"","url":"https://api.github.com/users/zhonghaihua","html_url":"https://github.com/zhonghaihua","followers_url":"https://api.github.com/users/zhonghaihua/followers","following_url":"https://api.github.com/users/zhonghaihua/following{/other_user}","gists_url":"https://api.github.com/users/zhonghaihua/gists{/gist_id}","starred_url":"https://api.github.com/users/zhonghaihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhonghaihua/subscriptions","organizations_url":"https://api.github.com/users/zhonghaihua/orgs","repos_url":"https://api.github.com/users/zhonghaihua/repos","events_url":"https://api.github.com/users/zhonghaihua/events{/privacy}","received_events_url":"https://api.github.com/users/zhonghaihua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-08T07:58:17Z","updated_at":"2016-06-04T08:06:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12258","html_url":"https://github.com/apache/spark/pull/12258","diff_url":"https://github.com/apache/spark/pull/12258.diff","patch_url":"https://github.com/apache/spark/pull/12258.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nNow, when executor is removed by driver with heartbeats timeout, driver will re-queue the task on this executor and send a kill command to cluster to kill this executor.\r\nBut, in a situation, the running task of this executor is finished and return result to driver before this executor killed by kill command sent by driver. At this situation, driver will accept the task finished event and ignore speculative task and re-queued task. \r\nBut, as we know, this executor has removed by driver, the result of this finished task can not save in driver because the BlockManagerId has also removed from BlockManagerMaster by driver. So, the result data of this stage is not complete, and then, it will cause fetch failure. For more details, [link to jira issues SPARK-14485](https://issues.apache.org/jira/browse/SPARK-14485)\r\nThis PR introduce a mechanism to ignore this kind of task finished.\r\n\r\n\r\n## How was this patch tested?\r\n\r\nN/A\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/223743197","html_url":"https://github.com/apache/spark/pull/12258#issuecomment-223743197","issue_url":"https://api.github.com/repos/apache/spark/issues/12258","id":223743197,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T08:06:42Z","updated_at":"2016-06-04T08:06:42Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59985/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}