Skip to content

Commit ca5b09e

Browse files
committed
[SPARK-52667] Improve SparkAppReconciler to show app names during cleaning up
1 parent ad6ba0d commit ca5b09e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/SparkAppReconciler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public DeleteControl cleanup(
183183
LoggingUtils.TrackedMDC trackedMDC = new LoggingUtils.TrackedMDC();
184184
try {
185185
trackedMDC.set(sparkApplication);
186-
log.info("Cleaning up resources for SparkApp.");
186+
log.info("Cleaning up resources for SparkApp:" + sparkApplication.getMetadata().getName());
187187
SparkAppContext ctx = new SparkAppContext(sparkApplication, context, submissionWorker);
188188
List<AppReconcileStep> cleanupSteps = new ArrayList<>();
189189
cleanupSteps.add(new AppValidateStep());
@@ -200,7 +200,7 @@ public DeleteControl cleanup(
200200
}
201201
}
202202
} finally {
203-
log.info("Cleanup completed");
203+
log.debug("Cleanup completed");
204204
trackedMDC.reset();
205205
}
206206
sparkAppStatusRecorder.removeCachedStatus(sparkApplication);

0 commit comments

Comments
 (0)