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

GH-6707: added extended message to h2o.init to help user get around version mismatch error [nocheck] #15596

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

wendycwong
Copy link
Contributor

This PR fixes the problem in GH: #6707

Apart from getting an error message when the Java backend and the client Python/R versions do not match, the clients have no way to get around it if it is not important to use different backend and client software versions. I added the method to circumvent this error message by showing the user what to do. It is not recommended though.

I added two client tests to make sure the new error messages show up.

@mn-mikke mn-mikke changed the title GH-6707: added extended message to h2o.init to help user get around version mismatch error GH-6707: added extended message to h2o.init to help user get around version mismatch error [nocheck] Jun 26, 2023
@wendycwong wendycwong force-pushed the wendy_gh_6707_verion_mismatch_guide_master branch from 08d5f35 to adecbf0 Compare June 27, 2023 00:08
@wendycwong wendycwong changed the base branch from master to rel-3.42.0 June 27, 2023 00:08
@wendycwong wendycwong force-pushed the wendy_gh_6707_verion_mismatch_guide_master branch 2 times, most recently from fce55bf to a5310d0 Compare June 29, 2023 18:44
…version mismatch error.

GH-6707 : remove R unit test because test environment cannot generate the correct error.  It will error out at packageVersion(h2o).  Pointed out by Tomas Fryda, we source and run the code and do not install the h2o packate.
Copy link
Contributor

@tomasfryda tomasfryda left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you @wendycwong !

@wendycwong wendycwong force-pushed the wendy_gh_6707_verion_mismatch_guide_master branch from a5310d0 to e108c57 Compare August 14, 2023 14:06
@wendycwong wendycwong merged commit 9b237b0 into rel-3.42.0 Aug 15, 2023
2 checks passed
@wendycwong wendycwong deleted the wendy_gh_6707_verion_mismatch_guide_master branch August 15, 2023 16:15
Mohit1345 pushed a commit to Mohit1345/h2o-3 that referenced this pull request Aug 17, 2023
…und version mismatch error [nocheck] (h2oai#15596)

* h2oaiGH-6707 : added extended message to h2o.init to help user get around version mismatch error.
h2oaiGH-6707 : remove R unit test because test environment cannot generate the correct error.  It will error out at packageVersion(h2o).  Pointed out by Tomas Fryda, we source and run the code and do not install the h2o packate.

* replace circumvent with avoid from Tomas.
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.

2 participants