From 04fb7dba704afa4e20eb8c72d6568f7f55694157 Mon Sep 17 00:00:00 2001 From: Reynold Xin Date: Thu, 7 Apr 2016 21:41:41 -0700 Subject: Replace getLocalizedMessage with just normal toString in exception handling in WriterContainer. --- .../org/apache/spark/sql/execution/datasources/WriterContainer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') 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 f6b7f0854b..d2bbf196cb 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 } -- cgit v1.2.3