Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log level for noisy logs #2060

Merged
merged 1 commit into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ballista/rust/scheduler/src/state/stage_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use std::collections::{HashMap, HashSet};
use std::sync::Arc;

use log::{error, info, warn};
use log::{debug, error, warn};
use parking_lot::RwLock;
use rand::Rng;

Expand Down Expand Up @@ -305,7 +305,7 @@ impl StageScheduler for StageManager {
let stage_distribution = self.stage_distribution.read();
let stages_running = &stage_distribution.stages_running;
if stages_running.is_empty() {
info!("There's no running stages");
debug!("There's no running stages");
return None;
}
let stages = stages_running
Expand Down
2 changes: 1 addition & 1 deletion ballista/rust/scheduler/src/state/task_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl<T: 'static + AsLogicalPlan, U: 'static + AsExecutionPlan> TaskScheduler
}

let total_task_num = tasks_status.len();
info!("{} tasks to be scheduled", total_task_num);
debug!("{} tasks to be scheduled", total_task_num);

// No need to deal with the stage event, since the task status is changing from pending to running
self.stage_manager.update_tasks_status(tasks_status);
Expand Down