{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14433","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14433/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14433/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14433/events","html_url":"https://github.com/apache/spark/pull/14433","id":168574180,"number":14433,"title":"[SPARK-16829][SparkR]:sparkR sc.setLogLevel doesn't work","user":{"login":"wangmiao1981","id":5033592,"avatar_url":"https://avatars.githubusercontent.com/u/5033592?v=3","gravatar_id":"","url":"https://api.github.com/users/wangmiao1981","html_url":"https://github.com/wangmiao1981","followers_url":"https://api.github.com/users/wangmiao1981/followers","following_url":"https://api.github.com/users/wangmiao1981/following{/other_user}","gists_url":"https://api.github.com/users/wangmiao1981/gists{/gist_id}","starred_url":"https://api.github.com/users/wangmiao1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangmiao1981/subscriptions","organizations_url":"https://api.github.com/users/wangmiao1981/orgs","repos_url":"https://api.github.com/users/wangmiao1981/repos","events_url":"https://api.github.com/users/wangmiao1981/events{/privacy}","received_events_url":"https://api.github.com/users/wangmiao1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-08-01T06:13:44Z","updated_at":"2016-08-12T05:08:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14433","html_url":"https://github.com/apache/spark/pull/14433","diff_url":"https://github.com/apache/spark/pull/14433.diff","patch_url":"https://github.com/apache/spark/pull/14433.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\n(Please fill in changes proposed in this fix)\r\n\r\n\r\n./bin/sparkR\r\nLaunching java with spark-submit command /Users/mwang/spark_ws_0904/bin/spark-submit \"sparkr-shell\" /var/folders/s_/83b0sgvj2kl2kwq4stvft_pm0000gn/T//RtmpQxJGiZ/backend_porte9474603ed1e\r\nUsing Spark's default log4j profile: org/apache/spark/log4j-defaults.properties\r\nSetting default log level to \"WARN\".\r\nTo adjust logging level use sc.setLogLevel(newLevel).\r\n\r\n> sc.setLogLevel(\"INFO\")\r\nError: could not find function \"sc.setLogLevel\"\r\n\r\nsc.setLogLevel doesn't exist.\r\n\r\nR has a function setLogLevel.\r\n\r\nI rename the setLogLevel function to sc.setLogLevel.\r\n\r\n## How was this patch tested?\r\n\r\n(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)\r\nChange unit test. Run unit tests.\r\nManually tested it in sparkR shell.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/239362076","html_url":"https://github.com/apache/spark/pull/14433#issuecomment-239362076","issue_url":"https://api.github.com/repos/apache/spark/issues/14433","id":239362076,"user":{"login":"wangmiao1981","id":5033592,"avatar_url":"https://avatars.githubusercontent.com/u/5033592?v=3","gravatar_id":"","url":"https://api.github.com/users/wangmiao1981","html_url":"https://github.com/wangmiao1981","followers_url":"https://api.github.com/users/wangmiao1981/followers","following_url":"https://api.github.com/users/wangmiao1981/following{/other_user}","gists_url":"https://api.github.com/users/wangmiao1981/gists{/gist_id}","starred_url":"https://api.github.com/users/wangmiao1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangmiao1981/subscriptions","organizations_url":"https://api.github.com/users/wangmiao1981/orgs","repos_url":"https://api.github.com/users/wangmiao1981/repos","events_url":"https://api.github.com/users/wangmiao1981/events{/privacy}","received_events_url":"https://api.github.com/users/wangmiao1981/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T05:08:06Z","updated_at":"2016-08-12T05:08:06Z","body":"@felixcheung  I think SparkSubmitAction is good for this purpose. We might have to make the scope as [spark] instead of [deploy]. So it can be used in other components if needed. I will create the Enum object accordingly. Thanks!"}}
{"actor":{"display_login":"wangmiao1981"}}