Re: Equally weighted partitions in Spark

2014-05-15 Thread deenar.toraskar
+ 1 )) } override def equals(other: Any): Boolean = other match { case r: EqualWeightPartitioner[_,_] => r.bucketToPartitionMap.sameElements(bucketToPartitionMap) case _ => false } } -- View this message in context: http://apache-spark-user-list.1001560.n3.na

Re: Equally weighted partitions in Spark

2014-05-15 Thread Syed A. Hashmi
ion(key: Any): Int would >>> a) get the weight and then find the bucket >>> b) assign a random partition from the list of partitions associated >>> with >>> each bucket >>> >>> Just wanted to know if someone else had come across this issue before and >>> there was a better way of doing this. >>> >>> >>> >>> -- >>> View this message in context: >>> http://apache-spark-user-list.1001560.n3.nabble.com/Equally-weighted-partitions-in-Spark-tp5171p5212.html >>> Sent from the Apache Spark User List mailing list archive at Nabble.com. >>> >> >> >

Re: Equally weighted partitions in Spark

2014-05-03 Thread Chris Fregly
cket >> 4) getPartition(key: Any): Int would >> a) get the weight and then find the bucket >> b) assign a random partition from the list of partitions associated with >> each bucket >> >> Just wanted to know if someone else had come across this issue before and

Re: Equally weighted partitions in Spark

2014-05-02 Thread Andrew Ash
ist of partitions associated with > each bucket > > Just wanted to know if someone else had come across this issue before and > there was a better way of doing this. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Equall

Re: Equally weighted partitions in Spark

2014-05-02 Thread deenar.toraskar
-weighted-partitions-in-Spark-tp5171p5212.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Equally weighted partitions in Spark

2014-05-02 Thread Syed A. Hashmi
ese complex instruments evenly, the > overall job times would greatly reduce. > > > Deenar > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Equally-weighted-partitions-in-Spark-tp5171p5208.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. >

Re: Equally weighted partitions in Spark

2014-05-01 Thread deenar.toraskar
evenly, the overall job times would greatly reduce. Deenar -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Equally-weighted-partitions-in-Spark-tp5171p5208.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Equally weighted partitions in Spark

2014-05-01 Thread Andrew Ash
> > > Regards > Deenar > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Equally-weighted-partitions-in-Spark-tp5171.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. >

Equally weighted partitions in Spark

2014-05-01 Thread deenar.toraskar
buted. Has anyone created such a partitioner before? Regards Deenar -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Equally-weighted-partitions-in-Spark-tp5171.html Sent from the Apache Spark User List mailing list archive at Nabble.com.