public HadoopInputSplit[] createInputSplits(int minNumSplits)
throws IOException {
org.apache.hadoop.mapred.InputSplit[] splitArray = hadoopInputFormat.getSplits(jobConf, minNumSplits);
HadoopInputSplit[] hiSplit = new HadoopInputSplit[splitArray.length];
for(int i=0;i<splitArray.length;i++){
hiSplit[i] = new HadoopInputSplit(splitArray[i], jobConf);
}
return hiSplit;
}