You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2016/12/06 21:01:15 UTC
hbase git commit: HBASE-17211 Add more details in log when
UnknownScannerException thrown in ScannerCallable
Repository: hbase
Updated Branches:
refs/heads/0.98 6cbdc5eb7 -> b06b03b70
HBASE-17211 Add more details in log when UnknownScannerException thrown in ScannerCallable
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b06b03b7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b06b03b7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b06b03b7
Branch: refs/heads/0.98
Commit: b06b03b703e456de960bb8f5c05917bbbdaa72d1
Parents: 6cbdc5e
Author: Yu Li <li...@apache.org>
Authored: Thu Dec 1 01:13:18 2016 +0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Tue Dec 6 13:01:55 2016 -0800
----------------------------------------------------------------------
.../java/org/apache/hadoop/hbase/client/ScannerCallable.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/b06b03b7/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
index c11160a..370e12f 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java
@@ -309,7 +309,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;
}