hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject [34/52] [abbrv] hbase git commit: HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously
Date Fri, 08 Apr 2016 19:32: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/c93cffb9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c93cffb9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c93cffb9

Branch: refs/heads/HBASE-14850
Commit: c93cffb95c0322fc4244fe78a584ff225bc105c9
Parents: 7e39988
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:13: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/c93cffb9/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 cce37d7..18156cb 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
@@ -125,11 +125,13 @@ public class FSTableDescriptors implements TableDescriptors {
     this.metaTableDescritor = TableDescriptor.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();
@@ -175,6 +177,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