From a6f065396a5bdc11d76729f61e548fcb14038fe2 Mon Sep 17 00:00:00 2001 From: johnhomsea <517536891@qq.com> Date: Fri, 2 Aug 2019 18:46:22 +0800 Subject: [PATCH] HBASE-22779 fix TestTableShell is broken Signed-off-by: Duo Zhang Signed-off-by: Jan Hentschel --- 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 a07aa864a97..c5d19a4e2ae 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