0

I am trying to adapt the recursive method (along with the example) proposed in Recursive method call in Apache Spark . However, I get the following type mismatch error when i call the method RecursiveParentLookup.findUltimateParent():

error: type mismatch;
found   : org.apache.spark.rdd.RDD[Person]
required: org.apache.spark.rdd.RDD[Person]
val result = RecursiveParentLookup.findUltimateParent(input).collect()

Thanks in advance

Alper t. Turker
  • 34,230
  • 9
  • 83
  • 115
  • @user8371915 Thanks for the answer. My issue is definitevely the duplicate of that one, however no useful answer is provided in that one (I might be wrong though) – MinoData Data Jul 09 '18 at 07:43
  • That's the only answer that can be given for this issue unfortunately. It's more scala REPL related than spark – eliasah Jul 13 '18 at 08:00

0 Answers0