Re: Spark AMI

2014-03-22 Thread Usman Ghani
Thanks guys. On Thu, Mar 20, 2014 at 10:39 PM, Patrick Wendell wrote: > It has a bunch of packages installed on it for various spark > dependencies (libfortran, numpy, scipy) and some helpful tools (dstat, > iotop). > > On Thu, Mar 20, 2014 at 10:21 AM, Reynold Xin wrote: > > It's mostly stock

spark jobserver

2014-03-22 Thread Suhas Satish
Any plans of integrating SPARK-818 into spark trunk ? The pull request is open. It offers spark as a service with spark jobserver running as a separate process. Thanks, Suhas.

Re: Making RDDs Covariant

2014-03-22 Thread Pascal Voitot Dev
On Sat, Mar 22, 2014 at 7:45 PM, andy petrella wrote: > Dear, > I'm pretty much following the Pascal's advices, since I've myseelf > encoutered some problems with implicits (when playing the same kind of game > with my Neo4J Scala API). > > Nevertheless, one remark regarding the serialization, the

Re: Making RDDs Covariant

2014-03-22 Thread Pascal Voitot Dev
Ok guys, I've read spark code a bit deeper on serialization side... You're right, Java & Kryo serialization are runtime only so yes this isn't really a problem. A few weeks ago, I've studied a bit how we could integrate Pickling to spark but currently it's not really possible as Pickling is based

Re: Making RDDs Covariant

2014-03-22 Thread Michael Armbrust
Hi Pascal, Thanks for the input. I think we are going to be okay here since, as Koert said, the current serializers use runtime type information. We could also keep at ClassTag around for the original type when the RDD was created. Good things to be aware of though. Michael On Sat, Mar 22, 20

Re: Making RDDs Covariant

2014-03-22 Thread Pascal Voitot Dev
On Sat, Mar 22, 2014 at 8:38 PM, David Hall wrote: > On Sat, Mar 22, 2014 at 8:59 AM, Pascal Voitot Dev < > pascal.voitot@gmail.com> wrote: > > > The problem I was talking about is when you try to use typeclass > converters > > and make them contravariant/covariant for input/output. Something

Re: Making RDDs Covariant

2014-03-22 Thread David Hall
On Sat, Mar 22, 2014 at 8:59 AM, Pascal Voitot Dev < pascal.voitot@gmail.com> wrote: > The problem I was talking about is when you try to use typeclass converters > and make them contravariant/covariant for input/output. Something like: > > Reader[-I, +O] { def read(i:I): O } > > Doing this, y

Re: Making RDDs Covariant

2014-03-22 Thread andy petrella
Dear, I'm pretty much following the Pascal's advices, since I've myseelf encoutered some problems with implicits (when playing the same kind of game with my Neo4J Scala API). Nevertheless, one remark regarding the serialization, the lost of data shouldn't arrive in the case whenimplicit typeclasse

Re: Making RDDs Covariant

2014-03-22 Thread Koert Kuipers
i believe kryo serialization uses runtime class, not declared class we have no issues serializing covariant scala lists On Sat, Mar 22, 2014 at 11:59 AM, Pascal Voitot Dev < pascal.voitot@gmail.com> wrote: > On Sat, Mar 22, 2014 at 3:45 PM, Michael Armbrust >wrote: > > > > > > > From my exp

Re: Making RDDs Covariant

2014-03-22 Thread Pascal Voitot Dev
On Sat, Mar 22, 2014 at 3:45 PM, Michael Armbrust wrote: > > > > From my experience, covariance often becomes a pain when dealing with > > serialization/deserialization (I've experienced a few cases while > > developing play-json & datomisca). > > Moreover, if you have implicits, variance often be

Re: Making RDDs Covariant

2014-03-22 Thread Michael Armbrust
> > From my experience, covariance often becomes a pain when dealing with > serialization/deserialization (I've experienced a few cases while > developing play-json & datomisca). > Moreover, if you have implicits, variance often becomes a headache... This is exactly the kind of feedback I was hop

Re: Making RDDs Covariant

2014-03-22 Thread Pascal Voitot Dev
Hi, Covariance always seems like a good idea at first but you must be really careful as it always has unexpected consequences... >From my experience, covariance often becomes a pain when dealing with serialization/deserialization (I've experienced a few cases while developing play-json & datomisca

Re: graphx samples in Java

2014-03-22 Thread David Soroko
Is there a time frame for adding a Java API? -- david > On 22 Mar 2014, at 05:11, "Reynold Xin" wrote: > > There is no Java API yet. > > >> On Fri, Mar 21, 2014 at 3:18 AM, David Soroko wrote: >> >> Hi >> >> Where can I find the equivalent of the graphx example ( >> http://spark.apache.org