Search the mailing list archives. There have been several answers to this question before. The basic outline is that you should sub-class whatever input format class you are using (usually TextInputFormat) and over-ride isSplitable (yes, that is the spelling).
On 9/28/07 6:18 PM, "张茂森" <[EMAIL PROTECTED]> wrote: > 最简单的办法是把数据文件压缩成gz格式 > :) > > -----邮件原件----- > 发件人: yhxiao [mailto:[EMAIL PROTECTED] > 发送时间: 2007年9月22日 22:22 > 收件人: hadoop-user > 主题: How to do > > Dear developers: > Hi,my name is floodhong,a student in china. > Recently I want to make a cluster on hadoop, but now I have a > question, How to let one data file only only be excuted by one task? > which is very difficult to me. Can I do that? if the answer is "yes", tell > me how to do that? > I am very long for your answer. > > > > your sincerely > > > > > > > yhxiao > 2007-09-22