This is an automated email from the ASF dual-hosted git repository.

maruilei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new 91ff79aa [AURON #1525] Fallback outputs the exception stack when the 
log level is debug #1525
91ff79aa is described below

commit 91ff79aae0179bb41842775465aae48c6c5df8d4
Author: cxzl25 <[email protected]>
AuthorDate: Mon Oct 27 14:08:48 2025 +0800

    [AURON #1525] Fallback outputs the exception stack when the log level is 
debug #1525
---
 .../src/main/scala/org/apache/spark/sql/auron/AuronConverters.scala | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/spark-extension/src/main/scala/org/apache/spark/sql/auron/AuronConverters.scala
 
b/spark-extension/src/main/scala/org/apache/spark/sql/auron/AuronConverters.scala
index db3b710b..6c7f348a 100644
--- 
a/spark-extension/src/main/scala/org/apache/spark/sql/auron/AuronConverters.scala
+++ 
b/spark-extension/src/main/scala/org/apache/spark/sql/auron/AuronConverters.scala
@@ -347,7 +347,11 @@ object AuronConverters extends Logging {
 
     } catch {
       case e @ (_: NotImplementedError | _: AssertionError | _: Exception) =>
-        logWarning(s"Falling back exec: ${exec.getClass.getSimpleName}: 
${e.getMessage}")
+        if (log.isDebugEnabled()) {
+          logWarning(s"Falling back exec: ${exec.getClass.getSimpleName}: 
${e.getMessage}", e)
+        } else {
+          logWarning(s"Falling back exec: ${exec.getClass.getSimpleName}: 
${e.getMessage}")
+        }
         val neverConvertReason = e match {
           case _: AssertionError =>
             exec match {

Reply via email to