spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: Replace getLocalizedMessage with just normal toString in exception handling in WriterContainer.
Date Fri, 08 Apr 2016 04:42:11 GMT
Repository: spark
Updated Branches:
  refs/heads/master 953ff897e -> 04fb7dba7


Replace getLocalizedMessage with just normal toString in exception handling in WriterContainer.


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

Branch: refs/heads/master
Commit: 04fb7dba704afa4e20eb8c72d6568f7f55694157
Parents: 953ff89
Author: Reynold Xin <rxin@databricks.com>
Authored: Thu Apr 7 21:41:41 2016 -0700
Committer: Reynold Xin <rxin@databricks.com>
Committed: Thu Apr 7 21:41:41 2016 -0700

----------------------------------------------------------------------
 .../apache/spark/sql/execution/datasources/WriterContainer.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/04fb7dba/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
index f6b7f08..d2bbf19 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala
@@ -136,7 +136,7 @@ private[sql] abstract class BaseWriterContainer(
           // to tell the user to look for the actual error.
           throw new SparkException("The output file already exists but this could be due
to a " +
             "failure from an earlier attempt. Look through the earlier logs or stage page
for " +
-            "the first error.\n  File exists error: " + e.getLocalizedMessage, e)
+            "the first error.\n  File exists error: " + e, e)
         } else {
           throw e
         }


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


Mime
View raw message