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

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

View File

@ -550,10 +550,6 @@ public class HTableDescriptor implements WritableComparable<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;
}