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).
Here is the snippet of the code:
class QueryShard extends RDD {
sc (sc, (Seq)new ArrayBuffer,
I see two argument ctor. e.g.
/** Construct an RDD with just a one-to-one dependency on one parent */
def this(@transient oneParent: RDD[_]) =
this(oneParent.context , List(new OneToOneDependency(oneParent)))
Looks like Tuple in your code is T in the following:
abstract class RDD[T: