hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject [32/50] hbase git commit: HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously
Date Tue, 01 Nov 2016 19:51:26 GMT
HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously


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

Branch: refs/heads/branch-1.0
Commit: 52f8ad902da29f1e6eed4e5f18921689d42cc993
Parents: 47baaed
Author: Enis Soztutar <enis@apache.org>
Authored: Tue Apr 5 18:13:40 2016 -0700
Committer: Enis Soztutar <enis@apache.org>
Committed: Tue Apr 5 18:22:40 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/util/FSTableDescriptors.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/52f8ad90/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
index 7cd2673..06eb9ea 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
@@ -124,11 +124,13 @@ public class FSTableDescriptors implements TableDescriptors {
     this.metaTableDescriptor = HTableDescriptor.metaTableDescriptor(conf);
   }
 
+  @Override
   public void setCacheOn() throws IOException {
     this.cache.clear();
     this.usecache = true;
   }
 
+  @Override
   public void setCacheOff() throws IOException {
     this.usecache = false;
     this.cache.clear();
@@ -173,6 +175,8 @@ public class FSTableDescriptors implements TableDescriptors {
     } catch (NullPointerException e) {
       LOG.debug("Exception during readTableDecriptor. Current table name = "
           + tablename, e);
+    } catch (TableInfoMissingException e) {
+      // ignore. This is regular operation
     } catch (IOException ioe) {
       LOG.debug("Exception during readTableDecriptor. Current table name = "
           + tablename, ioe);


Mime
View raw message