/** * Execute the {@link CommitStep}s in the order they are added to the commit sequence. */ public void execute() { try { for (CommitStep step : this.steps) { if (!step.isCompleted()) { step.execute(); } } } catch (Throwable t) { log.error("Commit failed for dataset " + this.datasetUrn, t); throw Throwables.propagate(t); } }
/** * Execute the {@link CommitStep}s in the order they are added to the commit sequence. */ public void execute() { try { for (CommitStep step : this.steps) { if (!step.isCompleted()) { step.execute(); } } } catch (Throwable t) { log.error("Commit failed for dataset " + this.datasetUrn, t); throw Throwables.propagate(t); } }