Re: Using custom class as a key for groupByKey() or reduceByKey()

2014-06-15 Thread Andrew Ash
with the same key are listed >> separately after applying a groupByKey(), for example. What further >> modifications are necessary to enable usage of above class as a key. Right >> now, I have fallen back to using Tuple3 instead of >> the FlowId class, but it makes the code unnecessarily verbose. >> >> >> >> -- >> View this message in context: >> http://apache-spark-user-list.1001560.n3.nabble.com/Using-custom-class-as-a-key-for-groupByKey-or-reduceByKey-tp7640.html >> Sent from the Apache Spark User List mailing list archive at Nabble.com. >> > >

Re: Using custom class as a key for groupByKey() or reduceByKey()

2014-06-15 Thread Sean Owen
ing Tuple3 instead of > the FlowId class, but it makes the code unnecessarily verbose. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Using-custom-class-as-a-key-for-groupByKey-or-reduceByKey-tp7640.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. >

Using custom class as a key for groupByKey() or reduceByKey()

2014-06-15 Thread Gaurav Jain
t makes the code unnecessarily verbose. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Using-custom-class-as-a-key-for-groupByKey-or-reduceByKey-tp7640.html Sent from the Apache Spark User List mailing list archive at Nabble.com.