You have to override isSplitable method.
@Override
protected boolean isSplitable(JobContext context, Path filename) {
return false;
}
Go through this Hadoop source code example, MultiFileWordCount. You have to override isSplitable method to avoid splits.