Github user mengxr commented on the pull request:

    https://github.com/apache/spark/pull/1311#issuecomment-48862778
  
    @miccagiann I made one pass through the example code. Besides inline 
comments:
    
    1. We moved mllib's data to `data/mllib` in #1394 . Could you please update 
the paths in this PR? Thanks!
    2. Please use `.rdd()` instead of `JavaRDD.toRDD`.
    3. Please use `RDD.randomSplit` to obtain `training` and `test`, which 
should work in Java.
    
    The rest looks good to me. Thanks for adding Java examples!


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

Reply via email to