HBASE-13475 Small spelling mistake in region_mover#isSuccessfulScan causes NoMethodError (Victor Xu)
This commit is contained in:
parent
4788c6d1a8
commit
d6926629f9
|
@ -100,7 +100,7 @@ def isSuccessfulScan(admin, r)
|
||||||
scan = Scan.new(r.getStartKey(), r.getStartKey())
|
scan = Scan.new(r.getStartKey(), r.getStartKey())
|
||||||
scan.setBatch(1)
|
scan.setBatch(1)
|
||||||
scan.setCaching(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
|
begin
|
||||||
table = HTable.new(admin.getConfiguration(), r.getTableName())
|
table = HTable.new(admin.getConfiguration(), r.getTableName())
|
||||||
scanner = table.getScanner(scan)
|
scanner = table.getScanner(scan)
|
||||||
|
|
Loading…
Reference in New Issue