You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/09/05 23:36:24 UTC
[3/3] hbase git commit: HBASE-14308 HTableDescriptor WARN is not
actionable (Lars Francke)
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/9f73d722
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9f73d722
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9f73d722
Branch: refs/heads/0.98
Commit: 9f73d722eeff4cca5d2e237b7b2276386ccbbfe4
Parents: 7eb3096
Author: stack <st...@apache.org>
Authored: Fri Sep 4 22:44:21 2015 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Sat Sep 5 14:27:30 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/9f73d722/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 8550d9e..933e809 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
@@ -506,10 +506,6 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor> {
setDurability(isDeferredFlush ? Durability.ASYNC_WAL : DEFAULT_DURABLITY);
return;
}
- 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);
}