1
0

[MINOR] Change the log level of the dag scheduler for the test suite (#2134)

This commit is contained in:
vinoyang
2020-09-30 17:17:44 +08:00
committed by GitHub
parent a99e93bed5
commit 5aaaf8bff1

View File

@@ -79,7 +79,7 @@ public class DagScheduler {
private void execute(ExecutorService service, List<DagNode> nodes) throws Exception { private void execute(ExecutorService service, List<DagNode> nodes) throws Exception {
// Nodes at the same level are executed in parallel // Nodes at the same level are executed in parallel
Queue<DagNode> queue = new PriorityQueue<>(nodes); Queue<DagNode> queue = new PriorityQueue<>(nodes);
log.warn("Running workloads"); log.info("Running workloads");
do { do {
List<Future> futures = new ArrayList<>(); List<Future> futures = new ArrayList<>();
Set<DagNode> childNodes = new HashSet<>(); Set<DagNode> childNodes = new HashSet<>();
@@ -109,7 +109,7 @@ public class DagScheduler {
throw new RuntimeException("DagNode already completed! Cannot re-execute"); throw new RuntimeException("DagNode already completed! Cannot re-execute");
} }
try { try {
log.warn("executing node: " + node.getName() + " of type: " + node.getClass()); log.info("executing node: " + node.getName() + " of type: " + node.getClass());
node.execute(executionContext); node.execute(executionContext);
node.setCompleted(true); node.setCompleted(true);
log.info("Finished executing {}", node.getName()); log.info("Finished executing {}", node.getName());