You can put the default arguments in the default constructor (i.e. the one right after "class PipedRDD").