spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-1438) Update RDD.sample() API to make seed parameter optional
Date Tue, 08 Apr 2014 07:17:20 GMT

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

Sandeep Singh commented on SPARK-1438:
--------------------------------------

You mean we should create a different method without seeds param or check for value of seed(is
there a  default values for seed when not set) ?

> Update RDD.sample() API to make seed parameter optional
> -------------------------------------------------------
>
>                 Key: SPARK-1438
>                 URL: https://issues.apache.org/jira/browse/SPARK-1438
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Matei Zaharia
>            Priority: Blocker
>              Labels: Starter
>             Fix For: 1.0.0
>
>
> When a seed is not given, it should pick one based on Math.random().
> This needs to be done in Java and Python as well.



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

Mime
View raw message