hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-13844 (Addendum) Replace KeyValue#isDelete by CellUtil#isDelete in hbase-shell
Date Sun, 01 Oct 2017 09:56:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 4aadc5d32 -> dd3d7de01


HBASE-13844 (Addendum) Replace KeyValue#isDelete by CellUtil#isDelete in hbase-shell


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

Branch: refs/heads/master
Commit: dd3d7de018f15b24bbbb311c007e795798582c39
Parents: 4aadc5d
Author: Chia-Ping Tsai <chia7712@gmail.com>
Authored: Sun Oct 1 17:47:47 2017 +0800
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Sun Oct 1 17:47:47 2017 +0800

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/table.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/dd3d7de0/hbase-shell/src/main/ruby/hbase/table.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb
index 7eaf1b3..33c80ae 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)}"


Mime
View raw message