{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22616","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22616/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22616/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22616/events","html_url":"https://github.com/apache/spark/pull/22616","id":366032049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5ODA3Njk0","number":22616,"title":"[SPARK-25586][Core] Remove logdebug statement for outer objects from","user":{"login":"ankuriitg","id":1723600,"node_id":"MDQ6VXNlcjE3MjM2MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1723600?v=4","gravatar_id":"","url":"https://api.github.com/users/ankuriitg","html_url":"https://github.com/ankuriitg","followers_url":"https://api.github.com/users/ankuriitg/followers","following_url":"https://api.github.com/users/ankuriitg/following{/other_user}","gists_url":"https://api.github.com/users/ankuriitg/gists{/gist_id}","starred_url":"https://api.github.com/users/ankuriitg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankuriitg/subscriptions","organizations_url":"https://api.github.com/users/ankuriitg/orgs","repos_url":"https://api.github.com/users/ankuriitg/repos","events_url":"https://api.github.com/users/ankuriitg/events{/privacy}","received_events_url":"https://api.github.com/users/ankuriitg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-02T18:50:49Z","updated_at":"2018-10-02T21:41:46Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22616","html_url":"https://github.com/apache/spark/pull/22616","diff_url":"https://github.com/apache/spark/pull/22616.diff","patch_url":"https://github.com/apache/spark/pull/22616.patch"},"body":"ClosureCleaner\r\n\r\n## What changes were proposed in this pull request?\r\n\r\nCause: Recently test_glr_summary failed for PR of SPARK-25118, which enables\r\nspark-shell to run with default log level. It failed because this logdebug was\r\ncalled for GeneralizedLinearRegressionTrainingSummary which invoked its toString\r\nmethod, which started a Spark Job and ended up running into an infinite loop.\r\n\r\nFix: Remove logDebug statement for outer objects as closures aren't implemented\r\nwith outerclasses in Scala 2.12 and this debug statement looses its purpose\r\n\r\n## How was this patch tested?\r\n\r\nRan python pyspark-ml tests on top of PR for SPARK-25118 and ClosureCleaner unit\r\ntests\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/426440487","html_url":"https://github.com/apache/spark/pull/22616#issuecomment-426440487","issue_url":"https://api.github.com/repos/apache/spark/issues/22616","id":426440487,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQ0MDQ4Nw==","user":{"login":"vanzin","id":1694083,"node_id":"MDQ6VXNlcjE2OTQwODM=","avatar_url":"https://avatars0.githubusercontent.com/u/1694083?v=4","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":"2018-10-02T21:41:46Z","updated_at":"2018-10-02T21:41:46Z","author_association":"CONTRIBUTOR","body":"ok to test"}}
{"actor":{"display_login":"vanzin"}}