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

#352: BallistaContext::collect() logging is too noisy #394

Merged
merged 7 commits into from
May 27, 2021
6 changes: 3 additions & 3 deletions ballista/rust/client/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use datafusion::error::{DataFusionError, Result};
use datafusion::logical_plan::LogicalPlan;
use datafusion::physical_plan::csv::CsvReadOptions;
use datafusion::{dataframe::DataFrame, physical_plan::RecordBatchStream};
use log::{error, info};
use log::{error, info, trace};

#[allow(dead_code)]
struct BallistaContextState {
Expand Down Expand Up @@ -200,11 +200,11 @@ impl BallistaContext {
let wait_future = tokio::time::sleep(Duration::from_millis(100));
match status {
job_status::Status::Queued(_) => {
info!("Job {} still queued...", job_id);
trace!("Job {} still queued...", job_id);
wait_future.await;
}
job_status::Status::Running(_) => {
info!("Job {} is running...", job_id);
trace!("Job {} is running...", job_id);
wait_future.await;
}
job_status::Status::Failed(err) => {
Expand Down