You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ja...@apache.org on 2019/08/02 10:46:28 UTC

[hbase] branch master updated: HBASE-22779 fix TestTableShell is broken

This is an automated email from the ASF dual-hosted git repository.

janh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new a6f0653  HBASE-22779 fix TestTableShell is broken
a6f0653 is described below

commit a6f065396a5bdc11d76729f61e548fcb14038fe2
Author: johnhomsea <51...@qq.com>
AuthorDate: Fri Aug 2 18:46:22 2019 +0800

    HBASE-22779 fix TestTableShell is broken
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    Signed-off-by: Jan Hentschel <ja...@ultratendency.com>
---
 hbase-shell/src/main/ruby/hbase/table.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb
index a07aa86..c5d19a4 100644
--- a/hbase-shell/src/main/ruby/hbase/table.rb
+++ b/hbase-shell/src/main/ruby/hbase/table.rb
@@ -288,7 +288,7 @@ EOF
         ttl = args[TTL]
         set_op_ttl(append, ttl) if ttl
       end
-      append.add(family, qualifier, value.to_s.to_java_bytes)
+      append.addColumn(family, qualifier, value.to_s.to_java_bytes)
       result = @table.append(append)
       return nil if result.isEmpty