You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2009/12/17 20:02:38 UTC
svn commit: r891842 - in /hadoop/hbase/trunk: CHANGES.txt bin/loadtable.rb
Author: stack
Date: Thu Dec 17 19:02:37 2009
New Revision: 891842
URL: http://svn.apache.org/viewvc?rev=891842&view=rev
Log:
HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method 'descendingIterator'
Modified:
hadoop/hbase/trunk/CHANGES.txt
hadoop/hbase/trunk/bin/loadtable.rb
Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=891842&r1=891841&r2=891842&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Thu Dec 17 19:02:37 2009
@@ -122,6 +122,8 @@
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"
Modified: hadoop/hbase/trunk/bin/loadtable.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/loadtable.rb?rev=891842&r1=891841&r2=891842&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/loadtable.rb (original)
+++ hadoop/hbase/trunk/bin/loadtable.rb Thu Dec 17 19:02:37 2009
@@ -108,7 +108,7 @@
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