-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-20704][SPARKR] change CRAN test to run single thread #17945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
also target unix only
shivaram
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @felixcheung -- I just had one major comment on pulling out the OS_Type into a separate PR
R/pkg/DESCRIPTION
Outdated
| License: Apache License (== 2.0) | ||
| URL: http://www.apache.org/ http://spark.apache.org/ | ||
| BugReports: http://spark.apache.org/contributing.html | ||
| OS_Type: unix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do this in a separate PR ? It'll be good to track this as a separate JIRA / PR just to lookup why we did this. Also I'll hopefully hear from the winbuilder maintainer if this is something we can avoid doing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, I can revert this before merging. I want to have a branch to test devtools install
| library(SparkR) | ||
|
|
||
| sc <- sparkR.session() | ||
| sc <- sparkR.session(master = "local[1]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any specific reason these dont use sparkRMaster variable ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not accessible here - this is a separate R app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah got it.
| context("SerDe functionality") | ||
|
|
||
| sparkSession <- sparkR.session(enableHiveSupport = FALSE) | ||
| sparkSession <- sparkR.session(master = sparkRMaster, enableHiveSupport = FALSE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit - Is sparkRTestMaster is a better name ?
|
Test build #76778 has finished for PR 17945 at commit
|
|
Test build #76780 has finished for PR 17945 at commit
|
|
Actually one more thing to do is to change the vignettes to use 1 core as well since they get rebuilt / checked during the CRAN check. |
|
Test build #76821 has finished for PR 17945 at commit
|
|
tested devtools install on Windows (even with OS_type unix) |
|
hmm, I'm getting a NOTE from R CMD check |
|
I think its a lowercase |
|
Can you also retest with devtools after the fix ? |
|
checked vignettes |
|
bummer, no one can install on windows then with |
|
Ah that is a bummer. Lets hold off on that and use a new JIRA to discuss it. Rest of the changes LGTM pending jenkins, appveyor |
|
Test build #76823 has finished for PR 17945 at commit
|
|
Test build #76824 has finished for PR 17945 at commit
|
|
AppVeyor was failing because of the |
|
merged to master/2.2 |
## What changes were proposed in this pull request? - [x] need to test by running R CMD check --as-cran - [x] sanity check vignettes ## How was this patch tested? Jenkins Author: Felix Cheung <[email protected]> Closes #17945 from felixcheung/rchangesforpackage. (cherry picked from commit 888b84a) Signed-off-by: Felix Cheung <[email protected]>
## What changes were proposed in this pull request? - [x] need to test by running R CMD check --as-cran - [x] sanity check vignettes ## How was this patch tested? Jenkins Author: Felix Cheung <[email protected]> Closes apache#17945 from felixcheung/rchangesforpackage.
## What changes were proposed in this pull request? - [x] need to test by running R CMD check --as-cran - [x] sanity check vignettes ## How was this patch tested? Jenkins Author: Felix Cheung <[email protected]> Closes apache#17945 from felixcheung/rchangesforpackage.
What changes were proposed in this pull request?
How was this patch tested?
Jenkins