diff --git a/CHANGES.txt b/CHANGES.txt index 53bf2a2c974..81232b7716a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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" diff --git a/bin/loadtable.rb b/bin/loadtable.rb index a0e841f9f21..bf64232aa0b 100644 --- a/bin/loadtable.rb +++ b/bin/loadtable.rb @@ -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