hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [1/2] hbase git commit: HBASE-14097 Log link to client scan troubleshooting section when scanner exceptions happen.
Date Wed, 12 Aug 2015 00:09:25 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 02203303e -> f014ff766
  refs/heads/branch-1.0 83cf5e11f -> d38104c4e


HBASE-14097 Log link to client scan troubleshooting section when scanner exceptions happen.


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f014ff76
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f014ff76
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f014ff76

Branch: refs/heads/0.98
Commit: f014ff766e2c77f4f820525aee3d46eea1b211bb
Parents: 0220330
Author: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Authored: Tue Jul 28 15:13:40 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Tue Aug 11 17:07:42 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/client/ClientScanner.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f014ff76/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
index cced035..1814514 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
@@ -397,6 +397,8 @@ public class ClientScanner extends AbstractClientScanner {
           // a ScannerTimeoutException. Else, it's because the region moved and we used the
old
           // id against the new region server; reset the scanner.
           if (timeout < System.currentTimeMillis()) {
+            LOG.info("For hints related to the following exception, please try taking a look
at: " +
+                "https://hbase.apache.org/book.html#trouble.client.scantimeout");
             long elapsed = System.currentTimeMillis() - lastNext;
             ScannerTimeoutException ex = new ScannerTimeoutException(
                 elapsed + "ms passed since the last invocation, " +


Mime
View raw message