GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/7598
[SPARK-9262] Treat Scala compiler warnings as errors
I've seen a few cases in the past few weeks that the compiler is throwing
warnings that are caused by legitimate bugs. This patch updates warnings to
errors, except deprecation warnings.
Note that ideally we should be able to mark deprecation warnings as errors
as well. However, due to the lack of ability to suppress individual warning
messages in the Scala compiler, we cannot do that (since we do need to access
deprecated APIs in Hadoop).
Most of the work are done by @ericl.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark warnings
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7598.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 #7598
----
commit 78660acc5fcab260900d95b5d9ebcf656bb77a05
Author: Eric Liang <[email protected]>
Date: 2015-07-22T20:06:39Z
first effort to fix warnings
commit 87c354ac81f18fbd6357c5a8a34d582f88cf4577
Author: Reynold Xin <[email protected]>
Date: 2015-07-22T20:34:42Z
Fixed all non-deprecation warnings.
----
---
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]