static LocatedBlock testBlock = null;
@BeforeClass
public static void setupCluster() throws Exception {
final int REPLICATION_FACTOR = 1;
util = new BlockReaderTestUtil(REPLICATION_FACTOR);
// Create file.
util.writeFile(TEST_FILE, FILE_SIZE_K);
// Now get its blocks.
List<LocatedBlock> blkList = util.getFileBlocks(TEST_FILE, FILE_SIZE_K);
testBlock = blkList.get(0); // Use the first block to test