GitHub user wangyum opened a pull request:
https://github.com/apache/spark/pull/16990
[SPARK-19660][CORE][SQL] Replace the configuration property names that are
deprecated in the version of Hadoop 2.6
## What changes were proposed in this pull request?
Replace all the Hadoop deprecated configuration property names according to
[DeprecatedProperties](https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-common/DeprecatedProperties.html).
except:
https://github.com/apache/spark/blob/v2.1.0/python/pyspark/sql/tests.py#L1533
https://github.com/apache/spark/blob/v2.1.0/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala#L987
https://github.com/apache/spark/blob/v2.1.0/sql/core/src/main/scala/org/apache/spark/sql/execution/command/SetCommand.scala#L45
https://github.com/apache/spark/blob/v2.1.0/sql/core/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala#L614
## How was this patch tested?
Existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangyum/spark HadoopDeprecatedProperties
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16990.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #16990
----
commit 3e7e1db8f06abc99ac0936e6b4426455e5169419
Author: Yuming Wang <[email protected]>
Date: 2017-02-19T07:52:37Z
Replace the configuration property names that are deprecated in the version
of Hadoop 2.6.x.
commit b13ca22953209a5866cbf93da8a95c9af677b846
Author: Yuming Wang <[email protected]>
Date: 2017-02-19T08:14:21Z
Revert test.py's mapred.reduce.tasks
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]