You should instead broadcast your list and then use the broadcast variable
in the flatmap function.
Thanks
Ankur
On Fri, Apr 14, 2017 at 4:32 AM, Soheila S. wrote:
> Hello all,
> Can someone help me to solve the following fundamental problem?
>
>
> I have a JavaRDD and as a flatMap method, I ca
Hello all,
Can someone help me to solve the following fundamental problem?
I have a JavaRDD and as a flatMap method, I call a new instance of a class
which implements FlatMapFunction. This class has a constructor method and a
call method. In constructor method, I set the values for "List" variabl