[
https://issues.apache.org/jira/browse/SPARK-60328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kousuke Saruta resolved SPARK-60328.
------------------------------------
Fix Version/s: 4.3.1
4.4.0
Resolution: Fixed
Issue resolved by pull request 59587
[https://github.com/apache/spark/pull/59587]
> HiveDDLSuite SPARK-34261 test fails depending on test order
> -----------------------------------------------------------
>
> Key: SPARK-60328
> URL: https://issues.apache.org/jira/browse/SPARK-60328
> Project: Spark
> Issue Type: Test
> Components: SQL, Tests
> Affects Versions: 4.2.0
> Reporter: John Zhuge
> Assignee: John Zhuge
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.3.1, 4.4.0
>
>
> The cleanup in the HiveDDLSuite test "SPARK-34261: Avoid side effect if
> create exists temporary function" removes the test jar only from the
> "default" bucket of SparkContext.addedJars:
> {code:scala}
> .foreach(k =>
> spark.sparkContext.addedJars.get("default").foreach(_.remove(k)))
> {code}
> But SQL commands run inside artifactManager.withResources, and
> *spark.sql.artifact.isolation.enabled *defaults to true, so jars added
> through SQL are stored under the session UUID. listJars() flattens all
> buckets, so a jar left behind by an earlier test survives this cleanup and
> the next assertion fails, depending on test order.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]