From bbab9bf0c469bc610cb3191d4839ba104d5e0ad4 Mon Sep 17 00:00:00 2001 From: tedyu Date: Wed, 15 Apr 2015 05:04:32 -0700 Subject: [PATCH] HBASE-13475 Small spelling mistake in region_mover#isSuccessfulScan causes NoMethodError (Victor Xu) --- bin/region_mover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/region_mover.rb b/bin/region_mover.rb index 565b0d5a1a6..134b032b875 100644 --- a/bin/region_mover.rb +++ b/bin/region_mover.rb @@ -100,7 +100,7 @@ def isSuccessfulScan(admin, r) scan = Scan.new(r.getStartKey(), r.getStartKey()) scan.setBatch(1) scan.setCaching(1) - scan.setFilter(FilterList.new(FirstKeyOnlyFilter.new(),InclusiveStopFilter().new(r.getStartKey()))) + scan.setFilter(FilterList.new(FirstKeyOnlyFilter.new(),InclusiveStopFilter.new(r.getStartKey()))) begin table = HTable.new(admin.getConfiguration(), r.getTableName()) scanner = table.getScanner(scan)