I am trying to extend RDD in java, and when I call the parent constructor, it gives the error: no suitable constructor found for RDD (SparkContext, Seq, ClassTag<Object>).
Here is the snippet of the code:
class QueryShard extends RDD<Tuple> {
----
sc (sc, (Seq)new ArrayBuffer<Dependency<?>>,
ClassTag$.MODULE$.apply(Tuple.class);
}
Compiler error: no suitable constructor found for RDD (SparkContext, Seq,
ClassTag<Object>)
Any thoughts? pointers..
Thanks
VJ
