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 2010/05/19 19:03:38 UTC
svn commit: r946280 - in /hbase/trunk: CHANGES.txt
bin/set_meta_block_caching.rb
Author: stack
Date: Wed May 19 17:03:38 2010
New Revision: 946280
URL: http://svn.apache.org/viewvc?rev=946280&view=rev
Log:
HBASE-2572 hbase/bin/set_meta_block_caching.rb:72: can't convert Java::JavaLang::String into String (TypeError) - little issue with script
Modified:
hbase/trunk/CHANGES.txt
hbase/trunk/bin/set_meta_block_caching.rb
Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=946280&r1=946279&r2=946280&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Wed May 19 17:03:38 2010
@@ -337,6 +337,9 @@ Release 0.21.0 - Unreleased
HBASE-2539 Cannot start ZK before the rest in tests anymore
HBASE-2561 Scanning .META. while split in progress yields
IllegalArgumentException (Todd Lipcon via Stack)
+ HBASE-2572 hbase/bin/set_meta_block_caching.rb:72: can't convert
+ Java::JavaLang::String into String (TypeError) - little
+ issue with script
IMPROVEMENTS
Modified: hbase/trunk/bin/set_meta_block_caching.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/set_meta_block_caching.rb?rev=946280&r1=946279&r2=946280&view=diff
==============================================================================
--- hbase/trunk/bin/set_meta_block_caching.rb (original)
+++ hbase/trunk/bin/set_meta_block_caching.rb Wed May 19 17:03:38 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)