HBASE-14308 HTableDescriptor WARN is not actionable (Lars Francke)

This commit is contained in:
stack 2015-09-04 22:44:21 -07:00
parent 2969093b5b
commit a11f5c55b4
1 changed files with 0 additions and 4 deletions

View File

@ -533,10 +533,6 @@ public class HTableDescriptor implements Comparable<HTableDescriptor> {
setDurability(isDeferredFlush ? Durability.ASYNC_WAL : DEFAULT_DURABLITY);
return this;
}
Matcher matcher = HConstants.CP_HTD_ATTR_KEY_PATTERN.matcher(Bytes.toString(key.get()));
if (matcher.matches()) {
LOG.warn("Use addCoprocessor* methods to add a coprocessor instead");
}
values.put(key, value);
return this;
}