Re: [Spark] Working with JavaPairRDD from Scala

2017-07-22 Thread Lukasz Tracewski
tersection(_).getArea)) De : Lukasz Tracewski <lukasz.tracew...@outlook.com><mailto:lukasz.tracew...@outlook.com> Envoyé : samedi 22 juillet 2017 00:18 À : user@spark.apache.org<mailto:user@spark.apache.org> Objet : [Spark] Working with JavaPairRDD

RE: [Spark] Working with JavaPairRDD from Scala

2017-07-22 Thread yohann jardin
k.apache.org Objet : [Spark] Working with JavaPairRDD from Scala Hi, I would like to call a method on JavaPairRDD from Scala and I am not sure how to write a function for the "map". I am using a third-party library that uses Spark for geospatial computations and it happens that it return

[Spark] Working with JavaPairRDD from Scala

2017-07-21 Thread Lukasz Tracewski
Hi, I would like to call a method on JavaPairRDD from Scala and I am not sure how to write a function for the "map". I am using a third-party library that uses Spark for geospatial computations and it happens that it returns some results through Java API. I'd welcome a hint how to write a