Skip to content

Commit

Permalink
Merge pull request #6 from arenadata/feature/hive_javaopts_fix
Browse files Browse the repository at this point in the history
[PATCH] Add support for handling multiple Java options in HiveProcessBuilder
  • Loading branch information
Asmoday authored Nov 27, 2024
2 parents 201799d + 0cdab91 commit e9f01c6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ class HiveProcessBuilder(
val memory = conf.get(ENGINE_HIVE_MEMORY)
buffer += s"-Xmx$memory"
val javaOptions = conf.get(ENGINE_HIVE_JAVA_OPTIONS)
if (javaOptions.isDefined) {
buffer += javaOptions.get
}
javaOptions.map(_.trim.split("\\s+")).foreach(buffer ++= _)
// -Xmx5g
// java options
val classpathEntries = new mutable.LinkedHashSet[String]
Expand Down

0 comments on commit e9f01c6

Please sign in to comment.