You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by to...@apache.org on 2010/06/08 22:46:49 UTC

svn commit: r952811 - in /hbase/branches/0.20: CHANGES.txt bin/set_meta_block_caching.rb

Author: todd
Date: Tue Jun  8 20:46:48 2010
New Revision: 952811

URL: http://svn.apache.org/viewvc?rev=952811&view=rev
Log:
HBASE-2572. Fix string casting error in set_meta_block_caching.rb

Modified:
    hbase/branches/0.20/CHANGES.txt
    hbase/branches/0.20/bin/set_meta_block_caching.rb

Modified: hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/CHANGES.txt?rev=952811&r1=952810&r2=952811&view=diff
==============================================================================
--- hbase/branches/0.20/CHANGES.txt (original)
+++ hbase/branches/0.20/CHANGES.txt Tue Jun  8 20:46:48 2010
@@ -31,6 +31,8 @@ Release 0.20.5 - Sat Jun  5 23:46:01 PDT
    HBASE-2483  Tests should use an ephemeral port for the master
                (Jonathan Gray via Todd Lipcon)
    HBASE-2616  TestHRegion.testWritesWhileGetting flaky on trunk
+   HBASE-2572  Fix string casting error in set_meta_block_caching.rb
+               (Stack via Todd Lipcon)
 
   IMPROVEMENTS
    HBASE-2567  [stargate] minimize differences between 0.20 branch and trunk

Modified: hbase/branches/0.20/bin/set_meta_block_caching.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.20/bin/set_meta_block_caching.rb?rev=952811&r1=952810&r2=952811&view=diff
==============================================================================
--- hbase/branches/0.20/bin/set_meta_block_caching.rb (original)
+++ hbase/branches/0.20/bin/set_meta_block_caching.rb Tue Jun  8 20:46:48 2010
@@ -68,8 +68,7 @@ scan.addColumn(HConstants::CATALOG_FAMIL
 scanner = metaTable.getScanner(scan)
 while (result = scanner.next())
   rowid = Bytes.toString(result.getRow())
-  rowidStr = java.lang.String.new(rowid)
-  LOG.info("Setting BLOCKCACHE and IN_MEMORY on: " + rowidStr);
+  LOG.info("Setting BLOCKCACHE and IN_MEMORY on: " + rowid);
   hriValue = result.getValue(HConstants::CATALOG_FAMILY, HConstants::REGIONINFO_QUALIFIER)
   hri = Writables.getHRegionInfo(hriValue)
   family = hri.getTableDesc().getFamily(HConstants::CATALOG_FAMILY)