spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiemeilong <>
Subject combinebykey throw classcastexception
Date Tue, 20 May 2014 01:05:45 GMT
I am using CDH5 on a three machines cluster. map data from hbase as (string,
V) pair , then call combineByKey like this: 

      (v:V)=>new C(v),   //this line throw java.lang.ClassCastException: C
cannot be cast to V 

I am very confused of this, there isn't C to V casting at all.  What's

View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message