Skip to content

Commit

Permalink
Update kyuubi-common/src/main/scala/org/apache/kyuubi/engine/deploy/y…
Browse files Browse the repository at this point in the history
…arn/EngineYarnModeSubmitter.scala
  • Loading branch information
pan3793 authored Dec 28, 2023
1 parent 5e5045e commit 34a67b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ abstract class EngineYarnModeSubmitter extends Logging {
jars.get.split(KYUUBI_ENGINE_DEPLOY_YARN_MODE_ARCHIVE_SEPARATOR).foreach { path =>
val jars = Utils.listFilesRecursively(new File(path))
jars.foreach { f =>
if (!putedEntry.contains(f.getName) && f.isFile && f.getName.toLowerCase(
Locale.ROOT).endsWith(".jar") && f.canRead) {
if (!putedEntry.contains(f.getName) && f.isFile &&
f.getName.toLowerCase(Locale.ROOT).endsWith(".jar") && f.canRead) {
jarsStream.putNextEntry(new ZipEntry(f.getName))
Files.copy(f.toPath, jarsStream)
jarsStream.closeEntry()
Expand Down

0 comments on commit 34a67b4

Please sign in to comment.