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

This commit is contained in:
Chia-Ping Tsai 2017-10-01 17:47:47 +08:00
parent 95405fbd83
commit f04bd9ca18
1 changed files with 1 additions and 1 deletions

View File

@ -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)}"