Re: combinebykey throw classcastexception

2014-05-20 Thread xiemeilong
/combinebykey-throw-classcastexception-tp6060p6087.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: combinebykey throw classcastexception

2014-05-20 Thread Sean Owen
er[Int]()}, (bucket:ArrayBuffer[Int],instant:Int)=>{bucket+=instant}, (bucket1:ArrayBuffer[Int],bucket2:ArrayBuffer[Int])=>{bucket1++=bucket2} ).collect() https://www.quora.com/Why-is-my-combinebykey-throw-classcastexception I can't reproduce this with Spark 0.9.0 / CDH5 or Spark 1.0.0 RC9

combinebykey throw classcastexception

2014-05-19 Thread xiemeilong
I am very confused of this, there isn't C to V casting at all. What's wrong? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/combinebykey-throw-classcastexception-tp6059.html Sent from the Apache Spark User List mailing list archive at Nabble.com.