hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14308 HTableDescriptor WARN is not actionable (Lars Francke)
Date Sat, 05 Sep 2015 05:45:25 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 f186558b3 -> 3703ad4cf


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/3703ad4c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3703ad4c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3703ad4c

Branch: refs/heads/branch-1.2
Commit: 3703ad4cf2595585911e61b7d478cd7cfea9c923
Parents: f186558
Author: stack <stack@apache.org>
Authored: Fri Sep 4 22:44:21 2015 -0700
Committer: stack <stack@apache.org>
Committed: Fri Sep 4 22:45:15 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/3703ad4c/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 752b5ad..e464b79 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
@@ -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;
   }


Mime
View raw message