I think the second group (3 classOf's) should be used. Cheers
On Wed, Jun 8, 2016 at 4:53 PM, Alexander Pivovarov <apivova...@gmail.com> wrote: > if my RDD is RDD[(String, (Long, MyClass))] > > Do I need to register > > classOf[MyClass] > classOf[(Any, Any)] > > or > > classOf[MyClass] > classOf[(Long, MyClass)] > classOf[(String, (Long, MyClass))] > > ? > >