[ZEPPELIN-6496] Replace BigQuery polling stdout output with SLF4J logging #5298
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 216 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.322
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5298"
general
weight: 0.35
ParkGyeongTae
What is this PR for?
BigQueryInterpreter.pollJob(...)printed job polling status directly to standard output viaSystem.out.println(...), bypassing Zeppelin's SLF4J/Log4j2 loggingconfiguration, log levels, and appenders. This made diagnostics noisy and hard to route in server/interpreter deployments. This PR replaces the direct stdout call with a
structured SLF4J logger call.
What type of PR is it?
Improvement
Todos
[x] Replace
System.out.println(...)inpollJob(...)withLOGGER.info(...)[x] Preserve job state and wait interval information in the log message
[x] No behavior changes to polling, sleeping, or returned job handling
What is the Jira issue?
ZEPPELIN-6496
How should this be tested?
rg -n "System\.out\.println|System\.err\.println" bigquery/src/main/java/org/apache/zeppelin/bigqueryreturns no results./mvnw test -pl bigquerycompiles/builds successfullyManually trigger a BigQuery job poll and confirm the state/interval now appears via the configured logger instead of raw stdout
Screenshots (if appropriate)
N/A
Questions:
Does the license files need to update? No
Is there breaking changes for older versions? No