GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/13112
[SPARK-15322][mllib]update deprecate accumulator usage into accumulatorV2
in mllib
## What changes were proposed in this pull request?
MLlib code has two position use sc.accumulator method and it is deprecate,
update it.
mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala line 282
mllib/src/main/scala/org/apache/spark/ml/util/stopwatches.scala line 106
## How was this patch tested?
rerun build and test
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark update_accuV2_in_mllib
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13112.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 #13112
----
commit 2761dff513eb2da87464735722807e3ea0ea7676
Author: WeichenXu <[email protected]>
Date: 2016-05-14T06:10:34Z
update deprecate accumulator usage into accumulatorV2 in mllib
----
---
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]