{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8703","labels_url":"https://api.github.com/repos/apache/spark/issues/8703/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8703/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8703/events","html_url":"https://github.com/apache/spark/pull/8703","id":105870184,"number":8703,"title":"Check partitionId's range in ExternalSorter#spill()","user":{"login":"tedyu","id":235188,"avatar_url":"https://avatars.githubusercontent.com/u/235188?v=3","gravatar_id":"","url":"https://api.github.com/users/tedyu","html_url":"https://github.com/tedyu","followers_url":"https://api.github.com/users/tedyu/followers","following_url":"https://api.github.com/users/tedyu/following{/other_user}","gists_url":"https://api.github.com/users/tedyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tedyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedyu/subscriptions","organizations_url":"https://api.github.com/users/tedyu/orgs","repos_url":"https://api.github.com/users/tedyu/repos","events_url":"https://api.github.com/users/tedyu/events{/privacy}","received_events_url":"https://api.github.com/users/tedyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-10T18:32:04Z","updated_at":"2015-09-10T18:43:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8703","html_url":"https://github.com/apache/spark/pull/8703","diff_url":"https://github.com/apache/spark/pull/8703.diff","patch_url":"https://github.com/apache/spark/pull/8703.patch"},"body":"See this thread for background:\r\nhttp://search-hadoop.com/m/q3RTt0rWvIkHAE81\r\n\r\nWe should check the range of partition Id and provide meaningful message through exception.\r\n\r\nAlternatively, we can use abs() and modulo to force the partition Id into legitimate range. However, expectation is that user should correct the logic error in his / her code."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/139339685","html_url":"https://github.com/apache/spark/pull/8703#issuecomment-139339685","issue_url":"https://api.github.com/repos/apache/spark/issues/8703","id":139339685,"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},"created_at":"2015-09-10T18:43:41Z","updated_at":"2015-09-10T18:43:41Z","body":"please file JIRA"}}