HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method 'descendingIterator'
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891842 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1f9fd80ae6
commit
d225c7576c
|
@ -122,6 +122,8 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-1994 Master will lose hlog entries while splitting if region has
|
HBASE-1994 Master will lose hlog entries while splitting if region has
|
||||||
empty oldlogfile.log (Lars George via Stack)
|
empty oldlogfile.log (Lars George via Stack)
|
||||||
HBASE-2022 NPE in housekeeping kills RS
|
HBASE-2022 NPE in housekeeping kills RS
|
||||||
|
HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method
|
||||||
|
'descendingIterator' (Ching-Shen Chen via Stack)
|
||||||
HBASE-2033 Shell scan 'limit' is off by one
|
HBASE-2033 Shell scan 'limit' is off by one
|
||||||
HBASE-2040 Fixes to group commit
|
HBASE-2040 Fixes to group commit
|
||||||
HBASE-2047 Example command in the "Getting Started"
|
HBASE-2047 Example command in the "Getting Started"
|
||||||
|
|
|
@ -108,7 +108,7 @@ htd = HTableDescriptor.new(tableName)
|
||||||
htd.addFamily(hcd)
|
htd.addFamily(hcd)
|
||||||
previouslastkey = HConstants::EMPTY_START_ROW
|
previouslastkey = HConstants::EMPTY_START_ROW
|
||||||
count = map.size()
|
count = map.size()
|
||||||
for i in map.descendingIterator()
|
for i in map.descendingKeySet().iterator()
|
||||||
tuple = map.get(i)
|
tuple = map.get(i)
|
||||||
startkey = i
|
startkey = i
|
||||||
count = count - 1
|
count = count - 1
|
||||||
|
|
Loading…
Reference in New Issue