Skip to content
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

[SPARK-22889][SPARKR] Set overwrite=T when install SparkR in tests #20060

Closed
wants to merge 1 commit into from

Conversation

shivaram
Copy link
Contributor

What changes were proposed in this pull request?

Since all CRAN checks go through the same machine, if there is an older partial download or partial install of Spark left behind the tests fail. This PR overwrites the install files when running tests. This shouldn't affect Jenkins as SPARK_HOME is set when running Jenkins tests.

How was this patch tested?

Test manually by running R CMD check --as-cran

@shivaram
Copy link
Contributor Author

cc @felixcheung

@SparkQA
Copy link

SparkQA commented Dec 23, 2017

Test build #85328 has finished for PR 20060 at commit 6edbd71.

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

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as discussed

@felixcheung
Copy link
Member

merged to master/2.2

asfgit pushed a commit that referenced this pull request Dec 23, 2017
## What changes were proposed in this pull request?

Since all CRAN checks go through the same machine, if there is an older partial download or partial install of Spark left behind the tests fail. This PR overwrites the install files when running tests. This shouldn't affect Jenkins as `SPARK_HOME` is set when running Jenkins tests.

## How was this patch tested?

Test manually by running `R CMD check --as-cran`

Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu>

Closes #20060 from shivaram/sparkr-overwrite-cran.

(cherry picked from commit 1219d7a)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
@asfgit asfgit closed this in 1219d7a Dec 23, 2017
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
## What changes were proposed in this pull request?

Since all CRAN checks go through the same machine, if there is an older partial download or partial install of Spark left behind the tests fail. This PR overwrites the install files when running tests. This shouldn't affect Jenkins as `SPARK_HOME` is set when running Jenkins tests.

## How was this patch tested?

Test manually by running `R CMD check --as-cran`

Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu>

Closes apache#20060 from shivaram/sparkr-overwrite-cran.

(cherry picked from commit 1219d7a)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants