Gabriel Reid created CRUNCH-72:
----------------------------------

             Summary: Cartesian#cross loads all data in memory per parallel 
mapper
                 Key: CRUNCH-72
                 URL: https://issues.apache.org/jira/browse/CRUNCH-72
             Project: Crunch
          Issue Type: Bug
            Reporter: Gabriel Reid
            Assignee: Gabriel Reid


Cartesian#cross currently uses the PTable#cogroup method to join two sets of 
data together; this results in all data from both sides of the join being 
loaded in memory at one time. This can be a real problem with cartesian joins 
because of the quantity of data being joined.

Using PTable#join instead of PTable#cogroup will reduce the memory usage by 
50%, which can be the difference between a cartesian join working or failing 
with an OOME.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to