@Test
  public void testTableRecordReaderScannerFail() throws IOException {
    Table htable = createIOEScannerTable(Bytes.toBytes("table2"), 1);
    runTestMapred(htable);
  }
Run test assuming Scanner IOException failure using mapred api,
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapred/TestTableInputFormat.java