@Override
  @RetrySemantics.Idempotent
  public void setHadoopJobId(String hadoopJobId, long id) throws MetaException {
    jdbcResource.execute(
        "UPDATE \"COMPACTION_QUEUE\" SET \"CQ_HADOOP_JOB_ID\" = :hadoopJobId WHERE \"CQ_ID\" = :id",
        new MapSqlParameterSource()
            .addValue("id", id)
            .addValue("hadoopJobId", hadoopJobId),
        ParameterizedCommand.EXACTLY_ONE_ROW);
  }
Mark a compaction as refused (to run).
@param info compaction job.
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java