@Override
  protected int doWork() throws Exception {
    sharedPool = createThreadPool();
    try (Connection conn = ConnectionFactory.createConnection(getConf())) {
      runTestAtomicity(conn.getAdmin());
    } finally {
      sharedPool.shutdown();
    }
    return 0;
  }
A test tool that uses multiple threads to read and write multifamily rows into a table, verifying
that reads never see partially-complete writes
hbase-server/src/test/java/org/apache/hadoop/hbase/AcidGuaranteesTestTool.java