code: public Dataset createFailedJobProps(Throwable t) {
      this.dataset.setJobProps(this.state);
      this.dataset.skip(t);
      return this.dataset;
    }
docs: Create a {@link Dataset} with the given {@link Throwable}. This {@link Dataset} will be skipped by setting
  its state to {@link Dataset.DatasetState#COMPACTION_COMPLETE}, and the {@link Throwable} will be added to
  the {@link Dataset}.