{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/16237","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/16237/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/16237/comments","events_url":"https://api.github.com/repos/apache/spark/issues/16237/events","html_url":"https://github.com/apache/spark/pull/16237","id":194682745,"number":16237,"title":"[SPARK-18807][SPARKR] Should suppress output print for calls to JVM methods with void return values","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-09T19:54:56Z","updated_at":"2016-12-09T20:36:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/16237","html_url":"https://github.com/apache/spark/pull/16237","diff_url":"https://github.com/apache/spark/pull/16237.diff","patch_url":"https://github.com/apache/spark/pull/16237.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nSeveral SparkR API calling into JVM methods that have void return values are getting printed out, especially when running in a REPL or IDE.\r\nexample:\r\n```\r\n> setLogLevel(\"WARN\")\r\nNULL\r\n```\r\nWe should fix this to make the result more clear.\r\n\r\nAlso found a small change to return value of dropTempView in 2.1 - adding doc and test for it.\r\n\r\n## How was this patch tested?\r\n\r\nmanuall - I didn't find a expect_*() method in testthat for this\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/266116765","html_url":"https://github.com/apache/spark/pull/16237#issuecomment-266116765","issue_url":"https://api.github.com/repos/apache/spark/issues/16237","id":266116765,"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":"2016-12-09T20:36:56Z","updated_at":"2016-12-09T20:36:56Z","body":"Merged build finished. Test PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}