-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-28704][SQL][TEST] Add back Skiped HiveExternalCatalogVersionsSuite in HiveSparkSubmitSuite at JDK9+ #30451
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
FYI @dongjoon-hyun |
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #131459 has finished for PR 30451 at commit
|
I found that after this change , it download zookeeper test-jar
But. right case is
See the logical of dowloadVersion
Seems some place artifact info is wrong? |
Kubernetes integration test starting |
Test build #131465 has finished for PR 30451 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test status success |
Test build #131464 has finished for PR 30451 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
Thank you for working on this, @AngersZhuuuu ! |
@@ -103,6 +103,7 @@ package object client { | |||
// Since HIVE-14496, Hive materialized view need calcite-core. | |||
// For spark, only VersionsSuite currently creates a hive materialized view for testing. | |||
case object v2_3 extends HiveVersion("2.3.7", | |||
extraDeps = Seq("org.apache.zookeeper:zookeeper:3.4.6"), |
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.
Although we have this, the GitHub Action is stilling failing. Maybe, we have other issues?
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.
Although we have this, the GitHub Action is stilling failing. Maybe, we have other issues?
Yes, with zookeeper dependency but ivy still. download zookeeper with it's test jars, after detail check I can't find code issue related to this problem. so strange.
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.
Although we have this, the GitHub Action is stilling failing. Maybe, we have other issues?
Since default hive version is 2.3.7 and 2.3.7 can pass jdk9+, so. I changed hive version. in HiveExternalCatalogVersionSuite. It's reasonable.
So confused, still working to find why it download zookeeper(test-jar).
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.
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.
I agree with you that it's weird. Maybe, could you try this Spark Shell
? If we starts without local caches (Maven/Ivy), I guess Spark Shell
will fail with the same reason.
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.
Then, we should fix it first as an independent JIRA issue.
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.
I tried in feature #29966 to download zookeeper-3.4.6(after clean cache)
test("SPARK-33084: Add jar support ivy url") {
sc = new SparkContext(new SparkConf().setAppName("test").setMaster("local-cluster[3, 1, 1024]"))
sc.addJar("ivy://org.apache.zookeeper:zookeeper:3.4.6")
println("+===================+")
sc.listJars().foreach(println)
assert(sc.listJars().find(_.contains("zookeeper-3.4.6")).nonEmpty)
}
It really download right jar.
But with UT
test("SPARK-33084: Add jar support ivy url") {
sc = new SparkContext(new SparkConf().setAppName("test")
.setMaster("local-cluster[3, 1, 1024]"))
sc.addJar("ivy://org.apache.hive:hive-exec:2.3.7" +
"?exclude=org.pentaho:pentaho-aggdesigner-algorithm&transitive=true")
println("+===================+")
sc.listJars().foreach(println)
}
It download both zookeeper.jar and zookeeper-test.jar.
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.
@dongjoon-hyun
This error happened when HiveExternalCatalogVersionsSuite
.prepare()
, So any change in current code won't work since it use downloaded compiled spark.
So change in current code won't change the result.
Test build #131470 has finished for PR 30451 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #131476 has finished for PR 30451 at commit
|
Kubernetes integration test starting |
@dongjoon-hyun
Will download zookeeper-3.4.6.jar and zookeeper-3.4.6-test.jar, and it works well. After change hive version 1.2.1 when jdk < jdk9 and hive version 2.3.7 when jdk9+ can pass the GitAction. |
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test starting |
Test build #131490 has finished for PR 30451 at commit
|
Kubernetes integration test status success |
d21eb17
to
568150a
Compare
Test build #131493 has finished for PR 30451 at commit
|
retest this please |
Kubernetes integration test status failure |
Test build #131491 has finished for PR 30451 at commit
|
Test build #131492 has finished for PR 30451 at commit
|
Test build #131494 has finished for PR 30451 at commit
|
Kubernetes integration test starting |
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test status success |
Test build #131495 has finished for PR 30451 at commit
|
retest this please |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #131498 has finished for PR 30451 at commit
|
Thank you so much, @AngersZhuuuu . Merged to master. |
What changes were proposed in this pull request?
We skip test HiveExternalCatalogVersionsSuite when testing with JAVA_9 or later because our previous version does not support JAVA_9 or later. We now add it back since we have a version supports JAVA_9 or later.
Why are the changes needed?
To recover test coverage.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Check CI logs.