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 <[email protected]>
Authored: Thu Apr 7 21:41:41 2016 -0700
Committer: Reynold Xin <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to