You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by holdenk <gi...@git.apache.org> on 2016/02/08 08:03:01 UTC

[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

GitHub user holdenk opened a pull request:

    https://github.com/apache/spark/pull/11112

    [SPARK-13201][SPARK-13200] Deprecation warning cleanups: KMeans & MFDataGenerator

    KMeans:
    Make a private non-deprecated version of setRuns API so that we can call it from the PythonAPI without deprecation warnings in our own build. Also use it internally when being called from train. Add a logWarning for non-1 values
    
    MFDataGenerator:
    Apparently we are calling round on an integer which now in Scala 2.11 results in a warning (it didn't make any sense before either). Figure out if this is a mistake we can just remove or if we got the types wrong somewhere.
    
    I put these two together since they are both deprecation fixes in MLlib and pretty small, but I can split them up if we would prefer it that way.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/holdenk/spark SPARK-13201-non-deprecated-setRuns-SPARK-mathround-integer

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/11112.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 #11112
    
----
commit ec2e8f723b1bb9cbb603c0c85b97a2b89dc7c066
Author: Holden Karau <ho...@us.ibm.com>
Date:   2016-02-07T08:07:15Z

    Remove rounding on integer in MFDataGenerator

commit 5418c18f1574dcd11812f8101cc5bcf477394f54
Author: Holden Karau <ho...@us.ibm.com>
Date:   2016-02-07T08:08:12Z

    remove type

commit 4deb2491c2af7710afce4f3ffb1935e214e0f74e
Author: Holden Karau <ho...@us.ibm.com>
Date:   2016-02-08T06:57:55Z

    Add an internal version of setRuns for the KMeans MLLib implementation and have it used internally and when called from python. Also add a log error message that the number of runs is deprecated since people could be setting the number of runs through the train function as well

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181234100
  
    Yes, seems OK to me.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181248397
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/50913/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181234394
  
    **[Test build #50913 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/50913/consoleFull)** for PR 11112 at commit [`4deb249`](https://github.com/apache/spark/commit/4deb2491c2af7710afce4f3ffb1935e214e0f74e).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181764478
  
    merged to master


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181248395
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/11112#issuecomment-181248286
  
    **[Test build #50913 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/50913/consoleFull)** for PR 11112 at commit [`4deb249`](https://github.com/apache/spark/commit/4deb2491c2af7710afce4f3ffb1935e214e0f74e).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-13201][SPARK-13200] Deprecation warning...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/11112


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org