Skip to content

[SPARK-31291][SQL][TEST][FOLLOWUP] Fix resource loading error in ThriftServerQueryTestSuite - #28186

Closed
dongjoon-hyun wants to merge 2 commits into
apache:masterfrom
dongjoon-hyun:SPARK-31291
Closed

[SPARK-31291][SQL][TEST][FOLLOWUP] Fix resource loading error in ThriftServerQueryTestSuite#28186
dongjoon-hyun wants to merge 2 commits into
apache:masterfrom
dongjoon-hyun:SPARK-31291

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Apr 11, 2020

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

SPARK-31291 broke ThriftServerQueryTestSuite in Maven environment. This PR fixes it by copying the resource file from jars to local temp file.

Why are the changes needed?

To recover the Jenkins jobs in master and branch-3.0.

org.apache.spark.sql.hive.thriftserver.ThriftServerQueryTestSuite *** ABORTED ***
...
java.lang.IllegalArgumentException: java.net.URISyntaxException:
Relative path in absolute URI: jar:file:/home/jenkins/workspace/spark-branch-3.0-test-maven-hadoop-2.7-hive-2.3/sql/core/target/
spark-sql_2.12-3.0.1-SNAPSHOT-tests.jar!/test-data/postgresql/agg.data

Screen Shot 2020-04-10 at 9 54 28 PM

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the Jenkins with SBT and Maven.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants