spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [SPARK-13796] Redirect error message to logWarning
Date Thu, 31 Mar 2016 19:03:15 GMT
Repository: spark
Updated Branches:
  refs/heads/master 358692932 -> ac1b8b302


[SPARK-13796] Redirect error message to logWarning

## What changes were proposed in this pull request?

Redirect error message to logWarning

## How was this patch tested?

Unit tests, manual tests

JoshRosen

Author: Nishkam Ravi <nishkamravi@gmail.com>

Closes #12052 from nishkamravi2/master_warning.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ac1b8b30
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ac1b8b30
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ac1b8b30

Branch: refs/heads/master
Commit: ac1b8b302a92678bbeece6e9c7879f1cb8fdad12
Parents: 3586929
Author: Nishkam Ravi <nishkamravi@gmail.com>
Authored: Thu Mar 31 12:03:05 2016 -0700
Committer: Andrew Or <andrew@databricks.com>
Committed: Thu Mar 31 12:03:05 2016 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/executor/Executor.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/ac1b8b30/core/src/main/scala/org/apache/spark/executor/Executor.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/executor/Executor.scala b/core/src/main/scala/org/apache/spark/executor/Executor.scala
index 3201463..09c5733 100644
--- a/core/src/main/scala/org/apache/spark/executor/Executor.scala
+++ b/core/src/main/scala/org/apache/spark/executor/Executor.scala
@@ -254,7 +254,7 @@ private[spark] class Executor(
             if (conf.getBoolean("spark.storage.exceptionOnPinLeak", false) && !threwException)
{
               throw new SparkException(errMsg)
             } else {
-              logError(errMsg)
+              logWarning(errMsg)
             }
           }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message