Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - How To Distribute One Map Data To All Reduce Tasks?


Copy link to this message
-
RE: How To Distribute One Map Data To All Reduce Tasks?
Devaraj k 2012-07-05, 06:06
Can you explain your usecase with some more details?

Thanks

Devaraj

________________________________
From: 静行 [[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2012 9:53 AM
To: [EMAIL PROTECTED]
Subject: 答复: How To Distribute One Map Data To All Reduce Tasks?

Thanks!
But what I really want to know is how can I distribute one map data to every reduce task, not one of reduce tasks.
Do you have some ideas?

发件人: Devaraj k [mailto:[EMAIL PROTECTED]]
发送时间: 2012年7月5日 12:12
收件人: [EMAIL PROTECTED]
主题: RE: How To Distribute One Map Data To All Reduce Tasks?
You can distribute the map data to the reduce tasks using Partitioner.  By default Job uses the HashPartitioner. You can use custom Partitioner it according to your need.

http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapreduce/Partitioner.html

Thanks

Devaraj

________________________________
From: 静行 [[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2012 9:00 AM
To: [EMAIL PROTECTED]
Subject: How To Distribute One Map Data To All Reduce Tasks?
Hi all:
         How can I distribute one map data to all reduce tasks?

________________________________

This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。