GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/11376
[SPARK-13501] Remove use of Guava Stopwatch.
Our nightly doc snapshot builds are failing due to some issue involving the
Guava Stopwatch constructor:
```
[error]
/home/jenkins/workspace/spark-master-docs/spark/core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/CoarseMesosSchedulerBackend.scala:496:
constructor Stopwatch in class Stopwatch cannot be accessed in class
CoarseMesosSchedulerBackend
[error] val stopwatch = new Stopwatch()
[error] ^
```
This Stopwatch constructor was deprecated in newer versions of Guava
(https://github.com/google/guava/commit/fd0cbc2c5c90e85fb22c8e86ea19630032090943)
and it's possible that some classpath issues affecting Unidoc could be causing
this to trigger compilation failures.
In order to work around this issue, this patch removes this use of
Stopwatch since we don't use it anywhere else in the Spark codebase.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark remove-stopwatch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11376.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 #11376
----
commit ecc21ac478c03d3c002667c65da6831fbb640f3b
Author: Josh Rosen <[email protected]>
Date: 2016-02-25T22:30:02Z
Remove use of Guava Stopwatch.
----
---
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]