-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-40846][INFRA] Temporarily pin GA used Java version to pass GA first #38311
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
| required: false | ||
| type: string | ||
| default: 8 | ||
| default: 8.0.345 |
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.
@HyukjinKwon @Yikun Can the version be written like this
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.
so the actual version was changed from time to time?
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.
Yes, always use the latest version
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.
got it, thanks
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.
Yes, we are using setup-java (zulu), and it find the latest java.
As we offline discussed, we could first to pin java8/java11/java17 to specific version to recover CI.
|
I can reproduce the failed with Java 8u352, for example run with 8u352 and run them with 8u345: |
|
also ping @dongjoon-hyun @srowen @wangyum |
|
It feels like something we (also) need to fix; I assume users will use later Java 8 versions, too. CC @MaxGekk |
|
Yes, the 8u345 can pass, but the 8u352 cannot, need to investigate. Do we need to restore the GA first? |
|
Let me manually test the latest Java 11 and 17 |
|
Right, I think it's OK to restore GA, but, users will hit this |
|
hmm... the latest 11(11.0.17) and 17(17.0.5) have the same issue ... |
|
This isn't the same as https://issues.apache.org/jira/browse/SPARK-40791 is it? |
MaxGekk
left a comment
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.
hmm... the latest 11(11.0.17) and 17(17.0.5) have the same issue ...
The latest JDKs can have more precise info about time zone offsets. Let's restore GAs and open a separate JIRA to investigate the failures and adjust our tests.
|
@MaxGekk should we need to ping the version of Java 11 and 17 to the previous version? The daily test with Java 11 and Java 17 will also fail, |
Yes, I think it makes sense. |
|
GA passed |
|
Okay, I am merging this but would you mind filing a blocker JIRA for this issue @LuciferYang ? |
|
We should make sure this is a temporary fix. |
|
Merged to master. |
|
|
This is because I think we can also remove |
|
Highly likely, we will need to regenerate the JSON files by the tests spark/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/RebaseDateTimeSuite.scala Lines 309 to 323 in 3faced8
|
OK |
@srowen They are different. SPARK-40791 is cause by change of Java 19 |
…first ### What changes were proposed in this pull request? This pr aims to pin GA used Java version to pass GA test first: - Java 8 pin to 8.0.345 - Java 11 pin to 11.0.16 - Java 17 pin to 17.0.4 this change should be revert after find the root cause ### Why are the changes needed? Make GA passed first. The following test failed with 8u352/11.0.17/17.0.5: ``` [info] *** 12 TESTS FAILED *** [error] Failed: Total 6746, Failed 12, Errors 0, Passed 6734, Ignored 5 [error] Failed tests: [error] org.apache.spark.sql.catalyst.expressions.CastWithAnsiOffSuite [error] org.apache.spark.sql.catalyst.util.TimestampFormatterSuite [error] org.apache.spark.sql.catalyst.expressions.CastWithAnsiOnSuite [error] org.apache.spark.sql.catalyst.util.RebaseDateTimeSuite [error] org.apache.spark.sql.catalyst.expressions.TryCastSuite ``` ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions Closes apache#38311 from LuciferYang/java-version. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
What changes were proposed in this pull request?
This pr aims to pin GA used Java version to pass GA test first:
this change should be revert after find the root cause
Why are the changes needed?
Make GA passed first.
The following test failed with 8u352/11.0.17/17.0.5:
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions