HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously
This commit is contained in:
parent
7e399883f6
commit
c93cffb95c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue