Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Cartesian product in hadoop


+
zheyi rong 2013-04-18, 09:47
+
Jagat Singh 2013-04-18, 09:58
Copy link to this message
-
Re: Cartesian product in hadoop
This is not suitable for his large dataset.

--Send from my Sony mobile.
On Apr 18, 2013 5:58 PM, "Jagat Singh" <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Can you have a look at
>
> http://pig.apache.org/docs/r0.11.1/basic.html#cross
>
> Thanks
>
>
> On Thu, Apr 18, 2013 at 7:47 PM, zheyi rong <[EMAIL PROTECTED]> wrote:
>
>> Dear all,
>>
>> I am writing to kindly ask for ideas of doing cartesian product in hadoop.
>> Specifically, now I have two datasets, each of which contains 20million
>> lines.
>> I want to do cartesian product on these two datasets, comparing lines
>> pairwisely.
>>
>> The output of each comparison can be mostly filtered by a function ( we
>> do not output the
>> whole result of this cartesian product, but only a small part).
>>
>> I guess one good way is to pass one block from dataset1 and another block
>> from dataset2
>> to a mapper, then let the mappers do the product in memory to avoid IO.
>>
>> Any suggestions?
>> Thank you very much.
>>
>> Regards,
>> Zheyi Rong
>>
>
>
+
Ajay Srivastava 2013-04-18, 10:50
+
zheyi rong 2013-04-18, 11:12
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB