You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2019/09/26 05:30:00 UTC
[jira] [Created] (SPARK-29254) Failed to include jars passed in
through --jars when isolatedLoader is enabled()
Yuming Wang created SPARK-29254:
-----------------------------------
Summary: Failed to include jars passed in through --jars when isolatedLoader is enabled()
Key: SPARK-29254
URL: https://issues.apache.org/jira/browse/SPARK-29254
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
Failed to include jars passed in through --jars when isolatedLoader is enabled({{spark.sql.hive.metastore.jars != builtin}}). How to reproduce:
{code:scala}
test("SPARK-8368: include jars passed in through --jars when isolatedLoader is enabled") {
val unusedJar = TestUtils.createJarWithClasses(Seq.empty)
val jar1 = TestUtils.createJarWithClasses(Seq("SparkSubmitClassA"))
val jar2 = TestUtils.createJarWithClasses(Seq("SparkSubmitClassB"))
val jar3 = HiveTestJars.getHiveContribJar.getCanonicalPath
val jar4 = HiveTestJars.getHiveHcatalogCoreJar.getCanonicalPath
val jarsString = Seq(jar1, jar2, jar3, jar4).map(j => j.toString).mkString(",")
val args = Seq(
"--class", SparkSubmitClassLoaderTest.getClass.getName.stripSuffix("$"),
"--name", "SparkSubmitClassLoaderTest",
"--master", "local-cluster[2,1,1024]",
"--conf", "spark.ui.enabled=false",
"--conf", "spark.master.rest.enabled=false",
"--conf", "spark.sql.hive.metastore.version=3.1.2",
"--conf", "spark.sql.hive.metastore.jars=maven",
"--driver-java-options", "-Dderby.system.durability=test",
"--jars", jarsString,
unusedJar.toString, "SparkSubmitClassA", "SparkSubmitClassB")
runSparkSubmit(args)
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org