TableScanner scanner = reader.getScanner(splits.get(0), true);
BytesWritable key = new BytesWritable();
Tuple value = TypesUtils.createTuple(scanner.getSchema());
// HashMap<String, Object> mapval;
while (!scanner.atEnd()) {
scanner.getKey(key);
// Assert.assertEquals(key, new BytesWritable("key0".getBytes()));
scanner.getValue(value);
System.out.println("key = " + key + " value = " + value);