HBASE-9791 MR initializes scanner twice
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1533213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ebd009051a
commit
0e3025566f
|
@ -92,7 +92,6 @@ public abstract class MultiTableInputFormatBase extends
|
|||
sc.setStopRow(tSplit.getEndRow());
|
||||
trr.setScan(sc);
|
||||
trr.setHTable(table);
|
||||
trr.initialize(split, context);
|
||||
return trr;
|
||||
}
|
||||
|
||||
|
|
|
@ -131,11 +131,6 @@ extends InputFormat<ImmutableBytesWritable, Result> {
|
|||
sc.setStopRow(tSplit.getEndRow());
|
||||
trr.setScan(sc);
|
||||
trr.setHTable(table);
|
||||
try {
|
||||
trr.initialize(tSplit, context);
|
||||
} catch (InterruptedException e) {
|
||||
throw new InterruptedIOException(e.getMessage());
|
||||
}
|
||||
return trr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue