spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eskilson,Aleksander" <>
Subject Re: SparkR and RDDs
Date Tue, 26 May 2015 12:56:23 GMT
>From the changes to the namespace file, that appears to be correct, all methods of the
RDD API have been made private, which in R means that you may still access them by using the
namespace prefix SparkR with three colons, e.g. SparkR:::func(foo, bar).

So a starting place for porting old SparkR scripts from before the merge could be to identify
those methods in the script belonging to the RDD class and be sure they have the namespace
identifier tacked on the front. I hope that helps.

Alek Eskilson

From: Andrew Psaltis <<>>
Date: Monday, May 25, 2015 at 6:25 PM
To: "<>" <<>>
Subject: SparkR and RDDs

I understand from SPARK-6799[1] and the respective merge commit [2]  that the RDD class is
private in Spark 1.4 . If I wanted to modify the old Kmeans and/or LR examples so that the
computation happened in Spark what is the best direction to go? Sorry if I am missing something
obvious, but based on the NAMESPACE file [3] in the SparkR codebase I am having trouble seeing
the obvious direction to go.

Thanks in advance,


CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation
and are intended only for the addressee. The information contained in this message is confidential
and may constitute inside or non-public information under international, federal, or state
securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such
information is strictly prohibited and may be unlawful. If you are not the addressee, please
promptly delete this message and notify the sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

View raw message