From a11f5c55b4d247c3ac0950398624383ec38e6f1b Mon Sep 17 00:00:00 2001 From: stack Date: Fri, 4 Sep 2015 22:44:21 -0700 Subject: [PATCH] HBASE-14308 HTableDescriptor WARN is not actionable (Lars Francke) --- .../main/java/org/apache/hadoop/hbase/HTableDescriptor.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java index 2c14deebc1f..19bc2e76a20 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java @@ -533,10 +533,6 @@ public class HTableDescriptor implements Comparable { 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; }