spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Chukwumobi (CONT)" <>
Subject K8S spark submit for spark 2.4
Date Mon, 06 May 2019 02:30:37 GMT
Hi All,

I recently upgraded my spark version to 2.4.1 but when I try to run it with
the spark launcher 2.4, the set conf doesn't set my K8S environment
variables from the launcher submit command. Did anything change or am I
doing something wrong?

private def submitToSpark(launchId: String, req: SparkSubmitRequest,
appArgsStr: String)(implicit sparkEc: ExecutionContext):
Future[String] = {
  val promise: Promise[String] = Promise[String]()

  val launcher = new SparkLauncher()
    .setConf(Constants.SPARK_APP_NAME_KEY, req.appName)
    .setConf(Constants.SPARK_DRIVER_LABEL_KEY, launchId)

Thanks and Regards,
I. Ben Chukwumobi

The information contained in this e-mail is confidential and/or proprietary to Capital One
and/or its affiliates and may only be used solely in performance of work or services for Capital
One. The information transmitted herewith is intended only for use by the individual or entity
to which it is addressed. If the reader of this message is not the intended recipient, you
are hereby notified that any review, retransmission, dissemination, distribution, copying
or other use of, or taking of any action in reliance upon this information is strictly prohibited.
If you have received this communication in error, please contact the sender and delete the
material from your computer.
View raw message