Skip to content

Conversation

@felixcheung
Copy link
Member

@felixcheung felixcheung commented May 11, 2017

What changes were proposed in this pull request?

  • need to test by running R CMD check --as-cran
  • sanity check vignettes

How was this patch tested?

Jenkins

Copy link
Contributor

@shivaram shivaram left a 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

License: Apache License (== 2.0)
URL: http://www.apache.org/ http://spark.apache.org/
BugReports: http://spark.apache.org/contributing.html
OS_Type: unix
Copy link
Contributor

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.

Copy link
Member Author

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]")
Copy link
Contributor

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 ?

Copy link
Member Author

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

Copy link
Contributor

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)
Copy link
Contributor

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 ?

@SparkQA
Copy link

SparkQA commented May 11, 2017

Test build #76778 has finished for PR 17945 at commit 468cef1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 11, 2017

Test build #76780 has finished for PR 17945 at commit 92e6bba.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@shivaram
Copy link
Contributor

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.

@felixcheung
Copy link
Member Author

@SparkQA
Copy link

SparkQA commented May 11, 2017

Test build #76821 has finished for PR 17945 at commit a718645.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member Author

tested devtools install on Windows (even with OS_type unix)

@felixcheung
Copy link
Member Author

felixcheung commented May 11, 2017

hmm, I'm getting a NOTE from R CMD check

Unknown, possibly mis-spelled, fields in DESCRIPTION:
  ‘OS_Type’

@shivaram
Copy link
Contributor

I think its a lowercase t

@shivaram
Copy link
Contributor

Can you also retest with devtools after the fix ?

@felixcheung
Copy link
Member Author

checked vignettes

@felixcheung
Copy link
Member Author

felixcheung commented May 11, 2017

bummer, no one can install on windows then with OS_type: unix

Downloading GitHub repo felixcheung/spark@rchangesforpackage
from URL https://api.github.com/repos/felixcheung/spark/zipball/rchangesforpackage
Installing SparkR

ERROR:  Unix-only package
Error: Command failed (1)

@shivaram
Copy link
Contributor

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

@SparkQA
Copy link

SparkQA commented May 11, 2017

Test build #76823 has finished for PR 17945 at commit 21bea08.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 11, 2017

Test build #76824 has finished for PR 17945 at commit 5aa7fd4.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member Author

AppVeyor was failing because of the SparkListenerBus issue.

@felixcheung
Copy link
Member Author

merged to master/2.2

asfgit pushed a commit that referenced this pull request May 12, 2017
## 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]>
@asfgit asfgit closed this in 888b84a May 12, 2017
robert3005 pushed a commit to palantir/spark that referenced this pull request May 19, 2017
## 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.
liyichao pushed a commit to liyichao/spark that referenced this pull request May 24, 2017
## 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants