You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2015/09/05 07:44:29 UTC

hbase git commit: HBASE-14308 HTableDescriptor WARN is not actionable (Lars Francke)

Repository: hbase
Updated Branches:
  refs/heads/master 2969093b5 -> a11f5c55b


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a11f5c55
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a11f5c55
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a11f5c55

Branch: refs/heads/master
Commit: a11f5c55b4d247c3ac0950398624383ec38e6f1b
Parents: 2969093
Author: stack <st...@apache.org>
Authored: Fri Sep 4 22:44:21 2015 -0700
Committer: stack <st...@apache.org>
Committed: Fri Sep 4 22:44:21 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java  | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a11f5c55/hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java
----------------------------------------------------------------------
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 2c14dee..19bc2e7 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<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;
   }