HBASE-17211 Add more details in log when UnknownScannerException thrown in ScannerCallable
This commit is contained in:
parent
ea912478e2
commit
8adf6857c7
|
@ -359,7 +359,10 @@ public class ScannerCallable extends ClientServiceCallable<Result[]> {
|
||||||
throw ProtobufUtil.handleRemoteException(e);
|
throw ProtobufUtil.handleRemoteException(e);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} 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;
|
this.scannerId = -1L;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue