-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-33019][CORE] Use spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version=1 by default #29895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-33019][CORE] Use spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version=1 by default #29895
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1761,16 +1761,10 @@ Apart from these, the following properties are also available, and may be useful | |
| </tr> | ||
| <tr> | ||
| <td><code>spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version</code></td> | ||
| <td>Dependent on environment</td> | ||
| <td>1</td> | ||
| <td> | ||
| The file output committer algorithm version, valid algorithm version number: 1 or 2. | ||
| Version 2 may have better performance, but version 1 may handle failures better in certain situations, | ||
| as per <a href="https://issues.apache.org/jira/browse/MAPREDUCE-4815">MAPREDUCE-4815</a>. | ||
| The default value depends on the Hadoop version used in an environment: | ||
| 1 for Hadoop versions lower than 3.0 | ||
| 2 for Hadoop versions 3.0 and higher | ||
| It's important to note that this can change back to 1 again in the future once <a href="https://issues.apache.org/jira/browse/MAPREDUCE-7282">MAPREDUCE-7282</a> | ||
| is fixed and merged. | ||
|
Comment on lines
-1767
to
-1773
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just curious why this is deleted? It is a very comprehensive comments about the hadoop version background. @dongjoon-hyun
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR aims to provide a consistent view for Apache Spark users. For example, |
||
| Note that 2 may cause a correctness issue like MAPREDUCE-7282. | ||
| </td> | ||
| <td>2.2.0</td> | ||
| </tr> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.