public void testLocate() throws IOException {
if (skip)
return;
writeRecords(3 * records1stBlock);
Reader reader = new Reader(fs.open(path), fs.getFileStatus(path).getLen(), conf);
Scanner scanner = reader.createScanner();
Location loc2 =
locate(scanner, composeSortedKey(KEY, 3 * records1stBlock, 2)
.getBytes());
Location locLastIn1stBlock =
locate(scanner, composeSortedKey(KEY, 3 * records1stBlock,