1
0

[MINOR] Minor fixes to exception log and removing unwanted metrics flush in integ test (#5646)

This commit is contained in:
Sivabalan Narayanan
2022-05-20 19:27:35 -04:00
committed by GitHub
parent 85b146d3d5
commit 7d02b1fd3c
2 changed files with 1 additions and 4 deletions

View File

@@ -117,9 +117,6 @@ public class DagScheduler {
if (curRound < workflowDag.getRounds()) {
new DelayNode(workflowDag.getIntermittentDelayMins()).execute(executionContext, curRound);
}
// After each level, report and flush the metrics
Metrics.flush();
} while (curRound++ < workflowDag.getRounds());
log.info("Finished workloads");
}

View File

@@ -846,7 +846,7 @@ public class DeltaSync implements Serializable {
}
return newWriteSchema;
} catch (Exception e) {
throw new HoodieException("Failed to fetch schema from table.");
throw new HoodieException("Failed to fetch schema from table ", e);
}
}