HBASE-15587 FSTableDescriptors.getDescriptor() logs stack trace erronously
This commit is contained in:
parent
8957dc1033
commit
e6a32141b3
|
@ -124,11 +124,13 @@ public class FSTableDescriptors implements TableDescriptors {
|
||||||
this.metaTableDescriptor = HTableDescriptor.metaTableDescriptor(conf);
|
this.metaTableDescriptor = HTableDescriptor.metaTableDescriptor(conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setCacheOn() throws IOException {
|
public void setCacheOn() throws IOException {
|
||||||
this.cache.clear();
|
this.cache.clear();
|
||||||
this.usecache = true;
|
this.usecache = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setCacheOff() throws IOException {
|
public void setCacheOff() throws IOException {
|
||||||
this.usecache = false;
|
this.usecache = false;
|
||||||
this.cache.clear();
|
this.cache.clear();
|
||||||
|
@ -173,6 +175,8 @@ public class FSTableDescriptors implements TableDescriptors {
|
||||||
} catch (NullPointerException e) {
|
} catch (NullPointerException e) {
|
||||||
LOG.debug("Exception during readTableDecriptor. Current table name = "
|
LOG.debug("Exception during readTableDecriptor. Current table name = "
|
||||||
+ tablename, e);
|
+ tablename, e);
|
||||||
|
} catch (TableInfoMissingException e) {
|
||||||
|
// ignore. This is regular operation
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
LOG.debug("Exception during readTableDecriptor. Current table name = "
|
LOG.debug("Exception during readTableDecriptor. Current table name = "
|
||||||
+ tablename, ioe);
|
+ tablename, ioe);
|
||||||
|
|
Loading…
Reference in New Issue