hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject svn commit: r1533214 - in /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce: MultiTableInputFormatBase.java TableInputFormatBase.java
Date Thu, 17 Oct 2013 19:03:50 GMT
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;
   }
 



Mime
View raw message