HBASE-1627 TableInputFormatBase#nextKeyValue catches the wrong exception
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@793077 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09200b7260
commit
60e69c6982
|
@ -252,6 +252,8 @@ Release 0.20.0 - Unreleased
|
|||
HBASE-1629 HRS unable to contact master
|
||||
HBASE-1633 Can't delete in TRUNK shell; makes it hard doing admin repairs
|
||||
HBASE-1641 Stargate build.xml causes error in Eclipse
|
||||
HBASE-1627 TableInputFormatBase#nextKeyValue catches the wrong exception
|
||||
(Doğacan Güney via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -26,7 +26,6 @@ import java.util.List;
|
|||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.hadoop.hbase.HConstants;
|
||||
import org.apache.hadoop.hbase.UnknownScannerException;
|
||||
import org.apache.hadoop.hbase.client.HTable;
|
||||
import org.apache.hadoop.hbase.client.Result;
|
||||
import org.apache.hadoop.hbase.client.Scan;
|
||||
|
@ -202,7 +201,7 @@ extends InputFormat<ImmutableBytesWritable, Result> {
|
|||
Result result;
|
||||
try {
|
||||
result = this.scanner.next();
|
||||
} catch (UnknownScannerException e) {
|
||||
} catch (IOException e) {
|
||||
LOG.debug("recovered from " + StringUtils.stringifyException(e));
|
||||
restart(lastRow);
|
||||
scanner.next(); // skip presumed already mapped row
|
||||
|
|
Loading…
Reference in New Issue