{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5392","labels_url":"https://api.github.com/repos/apache/spark/issues/5392/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5392/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5392/events","html_url":"https://github.com/apache/spark/pull/5392","id":66903092,"number":5392,"title":"[SPARK-6602][Core] Update Master, Worker, Client, AppClient and related classes to use RpcEndpoint","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-04-07T14:39:06Z","updated_at":"2015-04-07T23:02:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5392","html_url":"https://github.com/apache/spark/pull/5392","diff_url":"https://github.com/apache/spark/pull/5392.diff","patch_url":"https://github.com/apache/spark/pull/5392.patch"},"body":"This PR updates the rest Actors in core to RpcEndpoint.\r\n\r\nBecause there is no `ActorSelection` in RpcEnv, I changes the logic of `registerWithMaster` in Worker and AppClient to avoid blocking the message loop. These changes need to be reviewed carefully."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/90754100","html_url":"https://github.com/apache/spark/pull/5392#issuecomment-90754100","issue_url":"https://api.github.com/repos/apache/spark/issues/5392","id":90754100,"user":{"login":"vanzin","id":1694083,"avatar_url":"https://avatars.githubusercontent.com/u/1694083?v=3","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T23:02:56Z","updated_at":"2015-04-07T23:02:56Z","body":"So I took a quick look, but I'm not familiar enough with the original code to provide good, informed feedback. The original protocol seems really weird to me, and I guess that leaks into the new code too. But fixing the protocol is probably out of the scope of this change..."}}