@Test(expected = IOException.class)
  public void testTableRecordReaderScannerFailMapreduceTwice()
    throws IOException, InterruptedException {
    Table htable = createIOEScannerTable(Bytes.toBytes("table3-mr"), 2);
    runTestMapreduce(htable);
  }
Run test assuming Scanner IOException failure using newer mapreduce api
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormat.java