Re: "No space left on device" IOException when using Cross operator

2015-06-16 Thread Mihail Vieru
Hi Stephan, thank you for your explanation. I thought I will be getting just 100MB of results after the Cross. This is why I used it. I will try something else then, most possibly a Map on the input. Best, Mihail On 16.06.2015 04:27, Stephan Ewen wrote: Cross is a quadratic operation. As such

Re: "No space left on device" IOException when using Cross operator

2015-06-15 Thread Stephan Ewen
Cross is a quadratic operation. As such, it produces very large results on moderate inputs, which can easily exceed memory and disk space, if the subsequent operation requires to gather all data (such as for the sort in your case). If you use on both inputs 10 MB of 100 byte elements (100K element