code: @Deprecated
    public static void populateState(Dataset dataset, Optional<Job> job, FileSystem fs) {
      dataset.jobProps().setProp(SlaEventKeys.DATASET_URN_KEY, dataset.getUrn());
      dataset.jobProps().setProp(SlaEventKeys.PARTITION_KEY,
          dataset.jobProps().getProp(MRCompactor.COMPACTION_JOB_DEST_PARTITION, ""));
      dataset.jobProps().setProp(SlaEventKeys.DEDUPE_STATUS_KEY, getOutputDedupeStatus(dataset.jobProps()));
      dataset.jobProps().setProp(SlaEventKeys.PREVIOUS_PUBLISH_TS_IN_MILLI_SECS_KEY, getPreviousPublishTime(dataset, fs));
      dataset.jobProps().setProp(SlaEventKeys.RECORD_COUNT_KEY, getRecordCount(job));
    }
docs: {@link Deprecated} use {@link #getEventSubmitterBuilder(Dataset, Optional, FileSystem)}