spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "octavian.ganea" <>
Subject Re: Avoid broacasting huge variables
Date Sun, 21 Sep 2014 14:42:29 GMT
Using mapPartitions and passing the big index object as a parameter to it was
not the best option, given the size of the big object and my RAM. The
workers died before starting the actual  computation. 

Anyway, creating a singleton object worked for me:

The big index was loaded once per each node.

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message