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/11 18:31:45 UTC

svn commit: r889717 - in /hadoop/hbase/branches/0.20: CHANGES.txt bin/loadtable.rb

Author: stack
Date: Fri Dec 11 17:31:45 2009
New Revision: 889717

URL: http://svn.apache.org/viewvc?rev=889717&view=rev
Log:
HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method 

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/bin/loadtable.rb

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=889717&r1=889716&r2=889717&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Fri Dec 11 17:31:45 2009
@@ -13,6 +13,8 @@
                empty oldlogfile.log (Lars George via Stack)
    HBASE-2022  NPE in housekeeping kills RS
    HBASE-2033  Shell scan 'limit' is off by one
+   HBASE-2034  [Bulk load tools] loadtable.rb calls an undefined method
+               `descendingIterator' (Ching-Shen Chen via Stack)
 
   IMPROVEMENTS
    HBASE-1961  HBase EC2 scripts

Modified: hadoop/hbase/branches/0.20/bin/loadtable.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/bin/loadtable.rb?rev=889717&r1=889716&r2=889717&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/bin/loadtable.rb (original)
+++ hadoop/hbase/branches/0.20/bin/loadtable.rb Fri Dec 11 17:31:45 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