spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3136) create java-friendly methods in RandomRDDs
Date Tue, 19 Aug 2014 20:37:19 GMT

    [ https://issues.apache.org/jira/browse/SPARK-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102791#comment-14102791
] 

Apache Spark commented on SPARK-3136:
-------------------------------------

User 'mengxr' has created a pull request for this issue:
https://github.com/apache/spark/pull/2041

> create java-friendly methods in RandomRDDs
> ------------------------------------------
>
>                 Key: SPARK-3136
>                 URL: https://issues.apache.org/jira/browse/SPARK-3136
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> Though we don't use default argument for methods in RandomRDDs, it is still not easy
for Java users to use because the output type is either `RDD[Double]` or `RDD[Vector]`. Java
users should expect `JavaDoubleRDD` and `JavaRDD[Vector]`, respectively. We should create
dedicated methods for Java users, and allow default arguments in Scala methods in RandomRDDs,
to make life easier for both Java and Scala users.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message