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

Changing log level from error to warning #17

Merged
merged 1 commit into from
Feb 17, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public ExecutionContext createRddExecutionContext(int jobId) {
public Optional<ExecutionContext> createSparkSQLExecutionContext(long executionId) {
QueryExecution queryExecution = SQLExecution.getQueryExecution(executionId);
if (queryExecution == null) {
log.error("Query execution is null: can't emit event for executionId {}", executionId);
// We changed this log level from error to warn so it doesn't mix with other MR and Itapu error logs.
// We should investigate if we can act upon this issue. If not, we should change this to debug
log.warn("Query execution is null: can't emit event for executionId {}", executionId);
return Optional.empty();
}
SparkSession sparkSession = queryExecution.sparkSession();
Expand Down
Loading