Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yikf committed Dec 29, 2023
1 parent 3c17d2c commit 44f7287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object HiveYarnModeSubmitter extends EngineYarnModeSubmitter {
val jars = new ListBuffer[File]
hadoopCp.foreach(cp => parseClasspath(cp, jars))
extraCp.foreach(cp => parseClasspath(cp, jars))
jars
jars.toSeq
}

private[hive] def parseClasspath(classpath: String, jars: ListBuffer[File]): Unit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HiveYarnModeSubmitterSuite extends KyuubiFunSuite {
s"$hiveEngineHome/target/scala-$SCALA_COMPILE_VERSION/jars/*:" +
s"$hiveEngineHome/target/kyuubi-hive-sql-engine-$SCALA_COMPILE_VERSION-$KYUUBI_VERSION.jar"
HiveYarnModeSubmitter.parseClasspath(classpath, jars)
assert(jars.size > 1)
assert(jars.nonEmpty)
assert(jars.exists(
_.getName == s"kyuubi-hive-sql-engine-$SCALA_COMPILE_VERSION-$KYUUBI_VERSION.jar"))
}
Expand Down

0 comments on commit 44f7287

Please sign in to comment.