Skip to content

Commit 36aa91a

Browse files
committed
DSP-15163 support for manager start command with args
we use manager start command with arguments, namely 'dse spark-jobsever context-per-jvm-managed-start'. This commit reintroduces support for such commands.
1 parent 3231ba7 commit 36aa91a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

job-server/src/main/scala/spark/jobserver/AkkaClusterSupervisorActor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class AkkaClusterSupervisorActor(daoActor: ActorRef, dataManagerActor: ActorRef)
248248
}
249249

250250
val contextLogger = LoggerFactory.getLogger("manager_start")
251-
val process = Process(managerStartCommand, managerArgs)
251+
val process = Process(managerStartCommand.split(" ") ++ managerArgs)
252252
process.run(ProcessLogger(out => contextLogger.info(out), err => contextLogger.warn(err)))
253253

254254
contextInitInfos(contextActorName) = (mergedContextConfig, isAdHoc, successFunc, failureFunc)

0 commit comments

Comments
 (0)