From f04bd9ca1816e565ac35c6513669e7e5544b9069 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Sun, 1 Oct 2017 17:47:47 +0800 Subject: [PATCH] HBASE-13844 (Addendum) Replace KeyValue#isDelete by CellUtil#isDelete in hbase-shell --- 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 7eaf1b33a8f..33c80aec360 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -748,7 +748,7 @@ EOF end end - if kv.isDelete + if org.apache.hadoop.hbase.CellUtil.isDelete(kv) val = "timestamp=#{kv.getTimestamp}, type=#{org.apache.hadoop.hbase.KeyValue::Type.codeToType(kv.getType)}" else val = "timestamp=#{kv.getTimestamp}, value=#{convert(column, kv, converter_class, converter)}"