Skip to content

Conversation

@felixcheung
Copy link
Member

@felixcheung felixcheung commented Jun 29, 2018

What changes were proposed in this pull request?

change to skip tests if

  • couldn't determine java version

fix problem on windows

How was this patch tested?

unit test, manual, win-builder

@SparkQA
Copy link

SparkQA commented Jun 29, 2018

Test build #92456 has finished for PR 21666 at commit 35ab8a2.

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

@SparkQA
Copy link

SparkQA commented Jun 29, 2018

Test build #92457 has finished for PR 21666 at commit a4f9b1e.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member Author

Jenkins, retest this please

@felixcheung
Copy link
Member Author

@shivaram

@SparkQA
Copy link

SparkQA commented Jun 29, 2018

Test build #92461 has finished for PR 21666 at commit a4f9b1e.

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

R/pkg/R/client.R Outdated

checkJavaVersion <- function() {
if (is_windows()) {
# See SPARK-24535
Copy link
Contributor

Choose a reason for hiding this comment

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

But this just would end up skipping all tests on Windows ? I'm not sure if thats the right move here. Is there some way to run some tests on Windows ?

Copy link
Member Author

@felixcheung felixcheung Jun 30, 2018

Choose a reason for hiding this comment

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

it would skip blindly yes - I guess we need to root cause why checkJavaVersion() fails on Windows/jdk 8 - otherwise sparkR.session() would just fail anyway and no way to continue to run/test anything.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

@SparkQA
Copy link

SparkQA commented Jul 3, 2018

Test build #92556 has finished for PR 21666 at commit e1d1a64.

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

@SparkQA
Copy link

SparkQA commented Jul 3, 2018

Test build #92557 has finished for PR 21666 at commit 8d9ef83.

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

@jerryshao
Copy link
Contributor

Any update on this issue @felixcheung , this blocks 2.3.2 release, just want to make sure if it is still in-progress.

@felixcheung
Copy link
Member Author

sorry for the delay, I couldn't reply earlier - the fix was ready but I was hoping for a review.
anyway, I'm going to merge it now.

@felixcheung
Copy link
Member Author

merged to master/2.3

asfgit pushed a commit that referenced this pull request Jul 6, 2018
## What changes were proposed in this pull request?

change to skip tests if
- couldn't determine java version

fix problem on windows

## How was this patch tested?

unit test, manual, win-builder

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #21666 from felixcheung/rjavaskip.

(cherry picked from commit 141953f)
Signed-off-by: Felix Cheung <felixcheung@apache.org>
@asfgit asfgit closed this in 141953f Jul 6, 2018
@jerryshao
Copy link
Contributor

Thanks @felixcheung .

@shivaram
Copy link
Contributor

shivaram commented Jul 6, 2018

Thanks @felixcheung and sorry for the delay in looking at this. I think the fix looks good. Overall it looks like we need to use system2 for the java version check as otherwise it runs inside a shell.

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.

4 participants