{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12909","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12909/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12909/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12909/events","html_url":"https://github.com/apache/spark/pull/12909","id":153120354,"number":12909,"title":"[SPARK-11249][launcher] Throw error if app resource is not provided.","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-04T21:33:33Z","updated_at":"2016-05-06T21:12:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12909","html_url":"https://github.com/apache/spark/pull/12909","diff_url":"https://github.com/apache/spark/pull/12909.diff","patch_url":"https://github.com/apache/spark/pull/12909.patch"},"body":"Without this, the code would build an invalid spark-submit command line,\r\nand a more cryptic error would be presented to the user. Also, expose\r\na constant that allows users to set a dummy resource in cases where\r\nthey don't need an actual resource file; for backwards compatibility,\r\nthat uses the same \"spark-internal\" resource that Spark itself uses.\r\n\r\nTested via unit tests, run-example, spark-shell, and running the\r\nthrift server with mixed spark and hive command line arguments."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/217559754","html_url":"https://github.com/apache/spark/pull/12909#issuecomment-217559754","issue_url":"https://api.github.com/repos/apache/spark/issues/12909","id":217559754,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T21:12:37Z","updated_at":"2016-05-06T21:12:37Z","body":"**[Test build #58030 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58030/consoleFull)** for PR 12909 at commit [`46664ba`](https://github.com/apache/spark/commit/46664bad2b0398260771a88a3f206cf1e1da0750)."}}