-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-20727] Skip tests that use Hadoop utils on CRAN Windows #17966
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
This change skips tests that use the Hadoop libraries while running on CRAN check with Windows as the operating system. This is to handle cases where the Hadoop winutils binaries are missing on the target system. The skipped tests consist of 1. Tests that save, load a model in MLlib 2. Tests that save, load CSV, JSON and Parquet files in SQL 3. Hive tests
|
cc @felixcheung FWIW it might easier to view the diff by adding |
|
This doesn't seem to really have anything to do with the errors in SPARK-20666. As I pointed out, they do not only happen on Windows. |
|
Sorry @vanzin I got the wrong JIRA number. Fixing it now |
|
This is SPARK-20727 - I just happened to have the other JIRA also open and pasted it incorrectly |
|
Test build #76876 has finished for PR 17966 at commit
|
|
Actually thinking more about this, I think we should be checking for availability of |
|
@HyukjinKwon Do we know why things sometime queue for a long time on AppVeyor ? Like this PR has been queued for around 5 hours right now. |
|
Thank you for cc'ing me. I think primarily it is because single AppVeyor account is shared across several Apache projects but the number of concurrent jobs is single up to my knowledge. So, it is a kind of a global queue. I am monitoring ... https://ci.appveyor.com/project/ApacheSoftwareFoundation/spark |
|
Just FYI, closing and opening a PR is a workaround to re-trigger the build in AppVeyor as (I assume) we all don't currently have the permission via AppVeyor Web UI. |
|
Probably - but how to check for Hadoop? See if HADOOP_HOME is set?
We don't need to set that on *nix though, I think
|
|
So I'd propose this |
|
@shivaram have you got a chance to work on this again? |
|
Sorry I've been out traveling -- I'll try to update this by tonight |
|
@felixcheung I made the change - I'm right now going to test this in my Windows VM. Will update this PR with the results |
|
Test build #77114 has finished for PR 17966 at commit
|
|
@felixcheung Unfortunately I'm out traveling and haven't been able to do the windows tests yet -- Would you have a chance to do that ? Also what are your thoughts on merging this while we test given the upcoming RC cut ? |
|
testing now - could you submit to https://win-builder.r-project.org? |
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.
LGTM
tested package with and without HADOOP_HOME, on Windows, both passed
## What changes were proposed in this pull request? This change skips tests that use the Hadoop libraries while running on CRAN check with Windows as the operating system. This is to handle cases where the Hadoop winutils binaries are missing on the target system. The skipped tests consist of 1. Tests that save, load a model in MLlib 2. Tests that save, load CSV, JSON and Parquet files in SQL 3. Hive tests ## How was this patch tested? Tested by running on a local windows VM with HADOOP_HOME unset. Also testing with https://win-builder.r-project.org Author: Shivaram Venkataraman <[email protected]> Closes #17966 from shivaram/sparkr-windows-cran. (cherry picked from commit d06610f) Signed-off-by: Felix Cheung <[email protected]>
|
merged to master/2.2 I think we should still check win-builder. Also it's a bit hard to tell if the skipped tests are skipped - might want to follow up with a trace |
|
Thanks I'll try to kick off the winbuilder build soon (i'm out of town till tomorrow). One more thing we might need to fix is that winbuilder has a 10 or 20 minute time limit for tests (not sure if the CRAN check has a similar limit ?) |
## What changes were proposed in this pull request? This change skips tests that use the Hadoop libraries while running on CRAN check with Windows as the operating system. This is to handle cases where the Hadoop winutils binaries are missing on the target system. The skipped tests consist of 1. Tests that save, load a model in MLlib 2. Tests that save, load CSV, JSON and Parquet files in SQL 3. Hive tests ## How was this patch tested? Tested by running on a local windows VM with HADOOP_HOME unset. Also testing with https://win-builder.r-project.org Author: Shivaram Venkataraman <[email protected]> Closes apache#17966 from shivaram/sparkr-windows-cran.
What changes were proposed in this pull request?
This change skips tests that use the Hadoop libraries while running
on CRAN check with Windows as the operating system. This is to handle
cases where the Hadoop winutils binaries are missing on the target
system. The skipped tests consist of
How was this patch tested?
Tested by running on a local windows VM with HADOOP_HOME unset. Also testing with https://win-builder.r-project.org