You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jx...@apache.org on 2013/10/17 21:03:50 UTC
svn commit: r1533214 - in
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce:
MultiTableInputFormatBase.java TableInputFormatBase.java
Author: jxiang
Date: Thu Oct 17 19:03:50 2013
New Revision: 1533214
URL: http://svn.apache.org/r1533214
Log:
HBASE-9791 MR initializes scanner twice
Modified:
hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java
hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java
Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java?rev=1533214&r1=1533213&r2=1533214&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java (original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java Thu Oct 17 19:03:50 2013
@@ -92,7 +92,6 @@ public abstract class MultiTableInputFor
sc.setStopRow(tSplit.getEndRow());
trr.setScan(sc);
trr.setHTable(table);
- trr.initialize(split, context);
return trr;
}
Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java?rev=1533214&r1=1533213&r2=1533214&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java (original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java Thu Oct 17 19:03:50 2013
@@ -131,11 +131,6 @@ extends InputFormat<ImmutableBytesWritab
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;
}