Re: Make HTTP requests from within Spark

2015-06-03 Thread Pat McDonough
Try something like the following. Create a function to make the HTTP call, e.g. using org.apache.commons.httpclient.HttpClient as in below. def getUrlAsString(url: String): String = { val client = new org.apache.http.impl.client.DefaultHttpClient() val request = new org.apache.http.client.met

Re: How to configure build.sbt for Spark 1.2.0

2014-10-08 Thread Pat McDonough
Hey Arun, Since this build depends on unpublished builds of spark (1.2.0-SNAPSHOT), you'll need to first build spark and "publish-local" so your application build can find those SNAPSHOTs in your local repo. Just append "publish-local" to your sbt command where you build Spark. -Pat On Wed, O

Re: Redirect Incubator pages

2014-04-05 Thread Pat McDonough
I'm looking forward to that myself! Seems to be hung up with Apache infrastructure though. https://issues.apache.org/jira/plugins/servlet/mobile#issue/INFRA-7398 On Apr 4, 2014 11:19 PM, "Andrew Ash" wrote: > I occasionally see links to pages in the spark.incubator.apache.orgdomain. > Can we H