{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7107","labels_url":"https://api.github.com/repos/apache/spark/issues/7107/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7107/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7107/events","html_url":"https://github.com/apache/spark/pull/7107","id":91956652,"number":7107,"title":"[SPARK-8119] HeartbeatReceiver should replace executors, not kill","user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2015-06-30T02:07:55Z","updated_at":"2015-07-16T23:32:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7107","html_url":"https://github.com/apache/spark/pull/7107","diff_url":"https://github.com/apache/spark/pull/7107.diff","patch_url":"https://github.com/apache/spark/pull/7107.patch"},"body":"**Symptom.** If an executor in an application times out, `HeartbeatReceiver` attempts to kill it. After this happens, however, the application never gets an executor back even when there are cluster resources available.\r\n\r\n**Cause.** The issue is that `sc.killExecutor` automatically assumes that the application wishes to adjust its resource requirements permanently downwards. This is not the intention in `HeartbeatReceiver`, however, which simply wants a replacement for the expired executor.\r\n\r\n**Fix.** Differentiate between the intention to kill and the intention to replace an executor with a fresh one. More details can be found in the commit message."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/122130758","html_url":"https://github.com/apache/spark/pull/7107#issuecomment-122130758","issue_url":"https://api.github.com/repos/apache/spark/issues/7107","id":122130758,"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":"2015-07-16T23:32:37Z","updated_at":"2015-07-16T23:32:37Z","body":"Merged build finished. Test PASSed."}}