spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor McKay (JIRA)" <>
Subject [jira] [Commented] (SPARK-24534) Add a way to bypass script if no spark cmd is passed
Date Thu, 14 Jun 2018 20:32:00 GMT


Trevor McKay commented on SPARK-24534:

This is useful in situations like this for the spark-on-k8s-operator, where there is a need
to execute the userid preamble but fall through to another command. I think that would be
preferable to copy-pasting the boilerplate across the imagesphere :)

> Add a way to bypass script if no spark cmd is passed
> ------------------------------------------------------------------
>                 Key: SPARK-24534
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 2.3.0
>            Reporter: Ricardo Martinelli de Oliveira
>            Priority: Minor
> As an improvement in the script, I'd like to propose spark entrypoint do
a passthrough if driver/executor/init is not the command passed. Currently it raises an error.
> To me more specific, I'm talking about these lines:
> []
> This allows the openshift-spark image to continue to function as a Spark Standalone component,
with custom configuration support etc. without compromising the previous method to configure
the cluster inside a kubernetes environment.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message