{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7797","labels_url":"https://api.github.com/repos/apache/spark/issues/7797/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7797/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7797/events","html_url":"https://github.com/apache/spark/pull/7797","id":98200076,"number":7797,"title":"[SPARK-9479][Streaming][Tests]Fix ReceiverTrackerSuite failure","user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-30T15:41:40Z","updated_at":"2015-07-30T15:52:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7797","html_url":"https://github.com/apache/spark/pull/7797","diff_url":"https://github.com/apache/spark/pull/7797.diff","patch_url":"https://github.com/apache/spark/pull/7797.patch"},"body":"See https://issues.apache.org/jira/browse/SPARK-9479 for the failure cause.\r\n\r\nThe PR includes the following changes:\r\n1. Make ReceiverTrackerSuite create StreamingContext in the test body.\r\n2. Fix places that don't stop StreamingContext. I verified no SparkContext was stopped in the shutdown hook locally after this fix.\r\n3. Fix an issue that `ReceiverTracker.endpoint` may be null.\r\n4. Make sure stopping SparkContext in non-main thread won't fail other tests."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/126378174","html_url":"https://github.com/apache/spark/pull/7797#issuecomment-126378174","issue_url":"https://api.github.com/repos/apache/spark/issues/7797","id":126378174,"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-30T15:52:58Z","updated_at":"2015-07-30T15:52:58Z","body":"Merged build started."}}