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 7cd26739204..06eb9ea23d5 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);