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 <[email protected]>

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 <[email protected]>
Authored: Thu Mar 31 12:03:05 2016 -0700
Committer: Andrew Or <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to