HBASE-2561 Scanning .META. while split in progress yields IllegalArgumentException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca482b185b
commit
45aa9cb897
|
@ -335,6 +335,9 @@ Release 0.21.0 - Unreleased
|
|||
(Todd Lipcon via Stack)
|
||||
HBASE-2449 Local HBase does not stop properly
|
||||
HBASE-2539 Cannot start ZK before the rest in tests anymore
|
||||
HBASE-2561 Scanning .META. while split in progress yields
|
||||
IllegalArgumentException (Todd Lipcon via Stack)
|
||||
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -316,7 +316,12 @@ module Hbase
|
|||
return "timestamp=%d, value=%s" % [kv.getTimestamp, hri.toString]
|
||||
end
|
||||
if column == 'info:serverstartcode'
|
||||
return "timestamp=%d, value=%s" % [kv.getTimestamp, Bytes.toLong(kv.getValue)]
|
||||
if kv.getValue.length > 0
|
||||
str_val = Bytes.toLong(kv.getValue)
|
||||
else
|
||||
str_val = Bytes.toStringBinary(kv.getValue)
|
||||
end
|
||||
return "timestamp=%d, value=%s" % [kv.getTimestamp, str_val]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue