HBASE-17211 Add more details in log when UnknownScannerException thrown in ScannerCallable
This commit is contained in:
parent
f26b3bf5ba
commit
547d97f5ca
|
@ -389,7 +389,10 @@ public class ScannerCallable extends RegionServerCallable<Result[]> {
|
|||
throw ProtobufUtil.getRemoteException(se);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Ignore, probably already closed", e);
|
||||
TableName table = getTableName();
|
||||
String tableDetails = (table == null) ? "" : (" on table: " + table.getNameAsString());
|
||||
LOG.warn("Ignore, probably already closed. Current scan: " + getScan().toString()
|
||||
+ tableDetails, e);
|
||||
}
|
||||
this.scannerId = -1L;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue