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-14224 Can not set coprocessor from Shell after HBASE-14224 (Yenui Sun)
Date Wed, 30 Sep 2015 04:58:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 e199e1e98 -> 27093eb15


HBASE-14224 Can not set coprocessor from Shell after HBASE-14224 (Yenui Sun)


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

Branch: refs/heads/0.98
Commit: 27093eb15674aac2c08db9176ee23903e68c6eab
Parents: e199e1e
Author: stack <stack@apache.org>
Authored: Tue Sep 29 21:58:21 2015 -0700
Committer: stack <stack@apache.org>
Committed: Tue Sep 29 21:58:21 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java    | 1 -
 hbase-shell/src/main/ruby/hbase/admin.rb                           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/27093eb1/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 933e809..773f2c4 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
@@ -1224,7 +1224,6 @@ public class HTableDescriptor implements WritableComparable<HTableDescriptor>
{
    * {@link HConstants#CP_HTD_ATTR_VALUE_PATTERN}
    * @throws IOException
    */
-  // Pity about ugly method name. addCoprocessor(String) already taken above.
   public HTableDescriptor addCoprocessorWithSpec(final String specStr) throws IOException
{
     String className = getCoprocessorClassNameFromSpecStr(specStr);
     if (className == null) {

http://git-wip-us.apache.org/repos/asf/hbase/blob/27093eb1/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 4f0c927..4759965 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -562,7 +562,7 @@ module Hbase
             if (k =~ /coprocessor/i)
               v = String.new(value)
               v.strip!
-              htd.addCoprocessor(v)
+              htd.addCoprocessorWithSpec(v)
               valid_coproc_keys << key
             end
           end


Mime
View raw message