private ValidReaderWriteIdList getWriteIds(
      TableName fullTableName) throws NoSuchTxnException, MetaException {
    // TODO: acid utils don't support catalogs
    GetValidWriteIdsRequest req = new GetValidWriteIdsRequest(
        Lists.newArrayList(fullTableName.getDbTable()));
    return TxnCommonUtils.createValidReaderWriteIdList(
        txnHandler.getValidWriteIds(req).getTblValidWriteIds().get(0));
  }
Whether to only update stats that already exist and are out of date.
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUpdaterThread.java