{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22240","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22240/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22240/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22240/events","html_url":"https://github.com/apache/spark/pull/22240","id":354174901,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMDAxODc3","number":22240,"title":"[SPARK-25248] [CORE] Audit barrier Scala APIs for 2.4","user":{"login":"mengxr","id":829644,"node_id":"MDQ6VXNlcjgyOTY0NA==","avatar_url":"https://avatars2.githubusercontent.com/u/829644?v=4","gravatar_id":"","url":"https://api.github.com/users/mengxr","html_url":"https://github.com/mengxr","followers_url":"https://api.github.com/users/mengxr/followers","following_url":"https://api.github.com/users/mengxr/following{/other_user}","gists_url":"https://api.github.com/users/mengxr/gists{/gist_id}","starred_url":"https://api.github.com/users/mengxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengxr/subscriptions","organizations_url":"https://api.github.com/users/mengxr/orgs","repos_url":"https://api.github.com/users/mengxr/repos","events_url":"https://api.github.com/users/mengxr/events{/privacy}","received_events_url":"https://api.github.com/users/mengxr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-08-27T04:22:21Z","updated_at":"2018-09-04T03:02:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22240","html_url":"https://github.com/apache/spark/pull/22240","diff_url":"https://github.com/apache/spark/pull/22240.diff","patch_url":"https://github.com/apache/spark/pull/22240.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nI made one pass over barrier APIs added to Spark 2.4 and updates some scopes and docs. I will update Python docs once Scala doc was reviewed.\r\n\r\nOne major issue is that `BarrierTaskContext` implements `TaskContextImpl` that exposes some public methods. And internally there were several direct references to `TaskContextImpl` methods instead of `TaskContext`. This PR moved some methods from `TaskContextImpl` to `TaskContext`, remaining package private, and used delegate methods to avoid inheriting `TaskContextImp` and exposing unnecessary APIs.\r\n\r\nTODOs:\r\n- [x] scala doc\r\n- [x] python doc (#22261 )."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/418227401","html_url":"https://github.com/apache/spark/pull/22240#issuecomment-418227401","issue_url":"https://api.github.com/repos/apache/spark/issues/22240","id":418227401,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODIyNzQwMQ==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","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":"2018-09-04T03:02:43Z","updated_at":"2018-09-04T03:02:43Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2814/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}