From 1fae34de56f818a84bde1be33755d4ddf2c04d8f Mon Sep 17 00:00:00 2001 From: tedyu Date: Tue, 9 Dec 2014 09:35:01 -0800 Subject: [PATCH] HBASE-12662 region_status.rb is failing with NoMethodError (Ashish Singhi) --- bin/region_status.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/region_status.rb b/bin/region_status.rb index 293e007d5b0..878d58ab5df 100644 --- a/bin/region_status.rb +++ b/bin/region_status.rb @@ -90,8 +90,8 @@ else (tableNameMetaPrefix + HConstants::META_ROW_DELIMITER.chr).to_java_bytes ) end -scan.cache_blocks = false -scan.caching = 10 +scan.setCacheBlocks(false) +scan.setCaching(10) scan.setFilter(FirstKeyOnlyFilter.new) INFO = 'info'.to_java_bytes REGION_INFO = 'regioninfo'.to_java_bytes