Hi, I am wondering if the newInstance() call in readFields() can be performed outside the for loop. We can assign this instance to inputSplits[i] in the loop:
for (int i = 0; i < numSplits; i++) {
try {
inputSplits[i] = (InputSplit) ReflectionUtils.newInstance(conf
.getClassByName(inputSplitClassName), conf);
} catch (Exception e) {
BTW where is conf defined ?
Thanks
