Skip to content

[SPARK-28704][SQL][TEST] Add back Skiped HiveExternalCatalogVersionsSuite in HiveSparkSubmitSuite at JDK9+ #30428

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

Closed
wants to merge 2 commits into from

Conversation

AngersZhuuuu
Copy link
Contributor

@AngersZhuuuu AngersZhuuuu commented Nov 19, 2020

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.

@AngersZhuuuu AngersZhuuuu marked this pull request as draft November 19, 2020 14:31
@github-actions github-actions bot added the SQL label Nov 19, 2020
@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35958/

@dongjoon-hyun
Copy link
Member

Thank you for this efforts, @AngersZhuuuu !

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35958/

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Test build #131355 has finished for PR 30428 at commit d553765.

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

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28704][SQL][TEST] Skip HiveExternalCatalogVersionsSuite and 3 tests in HiveSparkSubmitSuite at JDK9+ [SPARK-28704][SQL][TEST][test-java11] Skip HiveExternalCatalogVersionsSuite and 3 tests in HiveSparkSubmitSuite at JDK9+ Nov 19, 2020
@dongjoon-hyun
Copy link
Member

Retest this please.

versions.filter(v => v.startsWith("3") || !TestUtils.isPythonVersionAtLeast38())
versions
.filter(v => v.startsWith("3") || !TestUtils.isPythonVersionAtLeast38())
.filter(v => v.startsWith("3") || !SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_11))
Copy link
Member

@dongjoon-hyun dongjoon-hyun Nov 19, 2020

Choose a reason for hiding this comment

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

Shall we use JavaVersion.JAVA_9 to be consistent with the PR title ~~~ at JDK9+?

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Nov 19, 2020

BTW, @AngersZhuuuu . The title is correct? Please revise it according to the PR content.

Skip HiveExternalCatalogVersionsSuite and 3 tests in HiveSparkSubmitSuite at JDK9+

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35974/

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35974/

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Test build #131370 has finished for PR 30428 at commit d553765.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 19, 2020

Test build #131371 has finished for PR 30428 at commit d553765.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

Could you take a look at HiveExternalCatalogVersionsSuite failure?

@AngersZhuuuu AngersZhuuuu changed the title [SPARK-28704][SQL][TEST][test-java11] Skip HiveExternalCatalogVersionsSuite and 3 tests in HiveSparkSubmitSuite at JDK9+ [SPARK-28704][SQL][TEST][test-java11] Add back Skiped HiveExternalCatalogVersionsSuite in HiveSparkSubmitSuite at JDK9+ Nov 20, 2020
@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35984/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35984/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Test build #131381 has finished for PR 30428 at commit b9dd1e4.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AngersZhuuuu
Copy link
Contributor Author

retest this please

@AngersZhuuuu
Copy link
Contributor Author

Could you take a look at HiveExternalCatalogVersionsSuite failure?

updated, seems latest UT failed not this issue?

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36002/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36002/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Test build #131398 has finished for PR 30428 at commit b9dd1e4.

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

@AngersZhuuuu AngersZhuuuu changed the title [SPARK-28704][SQL][TEST][test-java11] Add back Skiped HiveExternalCatalogVersionsSuite in HiveSparkSubmitSuite at JDK9+ [SPARK-28704][SQL][TEST] Add back Skiped HiveExternalCatalogVersionsSuite in HiveSparkSubmitSuite at JDK9+ Nov 20, 2020
@AngersZhuuuu
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36005/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36005/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Test build #131401 has finished for PR 30428 at commit b9dd1e4.

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

@AngersZhuuuu
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36011/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36011/

@SparkQA
Copy link

SparkQA commented Nov 20, 2020

Test build #131406 has finished for PR 30428 at commit b9dd1e4.

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

@AngersZhuuuu
Copy link
Contributor Author

ping @dongjoon-hyun All pass now.

@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review November 20, 2020 16:38
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you so much, @AngersZhuuuu .
Merged to master for Apache Spark 3.1.

@dongjoon-hyun
Copy link
Member

Ur, it seems that GitHub Action failed with java.io.FileNotFoundException: Source '/home/runner/.ivy2/jars/org.apache.zookeeper_zookeeper-3.4.6.jar'

2020-11-20T21:46:53.3518362Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> : java.io.FileNotFoundException: Source '/home/runner/.ivy2/jars/org.apache.zookeeper_zookeeper-3.4.6.jar' does not exist�[0m
2020-11-20T21:46:53.3520542Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)�[0m
2020-11-20T21:46:53.3522853Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:1013)�[0m
2020-11-20T21:46:53.3525435Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:977)�[0m
2020-11-20T21:46:53.3528409Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.spark.sql.hive.client.IsolatedClientLoader$.$anonfun$downloadVersion$4(IsolatedClientLoader.scala:139)�[0m
2020-11-20T21:46:53.3531793Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at 

@dongjoon-hyun
Copy link
Member

And, it seems to happen in a clean installation setup like GitHub Action. I'll revert this quickly. Sorry, @AngersZhuuuu .

@AngersZhuuuu
Copy link
Contributor Author

Ur, it seems that GitHub Action failed with java.io.FileNotFoundException: Source '/home/runner/.ivy2/jars/org.apache.zookeeper_zookeeper-3.4.6.jar'

2020-11-20T21:46:53.3518362Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> : java.io.FileNotFoundException: Source '/home/runner/.ivy2/jars/org.apache.zookeeper_zookeeper-3.4.6.jar' does not exist�[0m
2020-11-20T21:46:53.3520542Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1074)�[0m
2020-11-20T21:46:53.3522853Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:1013)�[0m
2020-11-20T21:46:53.3525435Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:977)�[0m
2020-11-20T21:46:53.3528409Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at org.apache.spark.sql.hive.client.IsolatedClientLoader$.$anonfun$downloadVersion$4(IsolatedClientLoader.scala:139)�[0m
2020-11-20T21:46:53.3531793Z �[0m[�[0m�[0minfo�[0m] �[0m�[0m  2020-11-20 13:46:51.755 - stdout> 	at 

image

In the build information it download zookeeper successfully. Ur a little strange, what should I need to do next?

@AngersZhuuuu
Copy link
Contributor Author

And, it seems to happen in a clean installation setup like GitHub Action. I'll revert this quickly. Sorry, @AngersZhuuuu .

It's ok, do I need to open a new PR to test GitAction?

@dongjoon-hyun
Copy link
Member

Yes. Please, @AngersZhuuuu . We can focus on the GitHub Action result only.

@AngersZhuuuu AngersZhuuuu deleted the SPARK-28704 branch November 21, 2020 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants