{"action":"created","issue":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/203","labels_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/203/comments","events_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/203/events","html_url":"https://github.com/andypetrella/spark-notebook/pull/203","id":85724132,"number":203,"title":"Issue #201 - Spark Packages","user":{"login":"EronWright","id":1775518,"avatar_url":"https://avatars.githubusercontent.com/u/1775518?v=3","gravatar_id":"","url":"https://api.github.com/users/EronWright","html_url":"https://github.com/EronWright","followers_url":"https://api.github.com/users/EronWright/followers","following_url":"https://api.github.com/users/EronWright/following{/other_user}","gists_url":"https://api.github.com/users/EronWright/gists{/gist_id}","starred_url":"https://api.github.com/users/EronWright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EronWright/subscriptions","organizations_url":"https://api.github.com/users/EronWright/orgs","repos_url":"https://api.github.com/users/EronWright/repos","events_url":"https://api.github.com/users/EronWright/events{/privacy}","received_events_url":"https://api.github.com/users/EronWright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-06T08:49:01Z","updated_at":"2015-06-06T22:31:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/pulls/203","html_url":"https://github.com/andypetrella/spark-notebook/pull/203","diff_url":"https://github.com/andypetrella/spark-notebook/pull/203.diff","patch_url":"https://github.com/andypetrella/spark-notebook/pull/203.patch"},"body":"PR to support [Spark Packages](http://spark-packages.org/) as custom dependencies.\r\n\r\nTwo features here:\r\n1. add spark-packages repository to resolver list\r\n2. support maven coordinates in \"groupId:artifactId:version\" format\r\n\r\nNote that I haven't tried the Scala 2.11 version.  I think I am missing the analog to the ReplCalculator of 2.10, but don't see where to add the spark-package repo.   \r\n\r\nThe end result is convenient use of packages. \r\n1.  Locate a package on spark-packages.org  ([example](http://spark-packages.org/package/EronWright/mypackage)).\r\n2.  Copy the coordinates (e.g. `EronWright:mypackage:0.0.6`)\r\n3. Paste the coordinates into the custom deps of the notebook:\r\n```\r\n{\r\n  \"customDeps\": [\r\n    \"EronWright:mypackage:0.0.6\"\r\n  ], ...\r\n}\r\n```\r\n4.  Observe the resolver's log output; the package is drawn from spark-packages repo:\r\n```\r\n\tEronWright:mypackage\r\n\t\t- 0.0.6\r\n\t\t\tstatus: release\r\n\t\t\tpublicationDate: Fri Jun 05 19:15:02 PDT 2015\r\n\t\t\tresolver: spark-packages\r\n\t\t\tartifactResolver: spark-packages\r\n\t\t\tevicted: false\r\n\t\t\tisDefault: false\r\n\t\t\tconfigurations: default, compile, runtime, default(compile), master\r\n\t\t\tlicenses: (Apache-2.0,Some(http://opensource.org/licenses/Apache-2.0))\r\n\t\t\tcallers: org.scala-lang:scala:2.10.4\r\n```"},"comment":{"url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/comments/109654714","html_url":"https://github.com/andypetrella/spark-notebook/pull/203#issuecomment-109654714","issue_url":"https://api.github.com/repos/andypetrella/spark-notebook/issues/203","id":109654714,"user":{"login":"EronWright","id":1775518,"avatar_url":"https://avatars.githubusercontent.com/u/1775518?v=3","gravatar_id":"","url":"https://api.github.com/users/EronWright","html_url":"https://github.com/EronWright","followers_url":"https://api.github.com/users/EronWright/followers","following_url":"https://api.github.com/users/EronWright/following{/other_user}","gists_url":"https://api.github.com/users/EronWright/gists{/gist_id}","starred_url":"https://api.github.com/users/EronWright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EronWright/subscriptions","organizations_url":"https://api.github.com/users/EronWright/orgs","repos_url":"https://api.github.com/users/EronWright/repos","events_url":"https://api.github.com/users/EronWright/events{/privacy}","received_events_url":"https://api.github.com/users/EronWright/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T22:31:34Z","updated_at":"2015-06-06T22:31:34Z","body":"@andypetrella updated the PR as we discussed.\r\n\r\nThere is one more change I'd like to make.  I'd like to add the local m2 repository to the default set, because spark-submit/spark-shell uses the local m2 repo by default.   WDYT?\r\n "}}