HBASE-14183 Scanning hbase meta table is failing in master branch.(Ashish)
This commit is contained in:
parent
5f6632f801
commit
18c9bb8b54
@ -651,7 +651,7 @@ EOF
|
|||||||
return "timestamp=%d, value=%s" % [kv.getTimestamp, hri.toString]
|
return "timestamp=%d, value=%s" % [kv.getTimestamp, hri.toString]
|
||||||
end
|
end
|
||||||
if column == 'info:serverstartcode'
|
if column == 'info:serverstartcode'
|
||||||
if kv.getValue.length > 0
|
if kv.getValueLength > 0
|
||||||
str_val = org.apache.hadoop.hbase.util.Bytes.toLong(kv.getValueArray,
|
str_val = org.apache.hadoop.hbase.util.Bytes.toLong(kv.getValueArray,
|
||||||
kv.getValueOffset, kv.getValueLength)
|
kv.getValueOffset, kv.getValueLength)
|
||||||
else
|
else
|
||||||
|
@ -598,6 +598,11 @@ module Hbase
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
define_test "scan hbase meta table" do
|
||||||
|
res = table("hbase:meta")._scan_internal
|
||||||
|
assert_not_nil(res)
|
||||||
|
end
|
||||||
|
|
||||||
define_test "mutation with TTL should expire" do
|
define_test "mutation with TTL should expire" do
|
||||||
@test_table.put('ttlTest', 'x:a', 'foo', { TTL => 1000 } )
|
@test_table.put('ttlTest', 'x:a', 'foo', { TTL => 1000 } )
|
||||||
begin
|
begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user