diff options
author | Reynold Xin <rxin@databricks.com> | 2016-04-07 21:41:41 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-07 21:41:41 -0700 |
commit | 04fb7dba704afa4e20eb8c72d6568f7f55694157 (patch) | |
tree | 4ceca047d839693a5fbae412531b4d0eca8cea5d /sql/core | |
parent | 953ff897e422570a329d0aec98d573d3fb66ab9a (diff) | |
download | spark-04fb7dba704afa4e20eb8c72d6568f7f55694157.tar.gz spark-04fb7dba704afa4e20eb8c72d6568f7f55694157.tar.bz2 spark-04fb7dba704afa4e20eb8c72d6568f7f55694157.zip |
Replace getLocalizedMessage with just normal toString in exception handling in WriterContainer.
Diffstat (limited to 'sql/core')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/WriterContainer.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |