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:
Michael Stack 2009-12-17 19:02:37 +00:00
parent 1f9fd80ae6
commit d225c7576c
2 changed files with 3 additions and 1 deletions

View File

@ -122,6 +122,8 @@ Release 0.21.0 - Unreleased
HBASE-1994 Master will lose hlog entries while splitting if region has
empty oldlogfile.log (Lars George via Stack)
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-2040 Fixes to group commit
HBASE-2047 Example command in the "Getting Started"

View File

@ -108,7 +108,7 @@ htd = HTableDescriptor.new(tableName)
htd.addFamily(hcd)
previouslastkey = HConstants::EMPTY_START_ROW
count = map.size()
for i in map.descendingIterator()
for i in map.descendingKeySet().iterator()
tuple = map.get(i)
startkey = i
count = count - 1