Comments (11)
BTW: I actually plan to add a command-line tool, say, sparkctl
that supports staging local dependencies to, for example, the resource staging server.
from spark-operator.
It needs to run on a cluster with alpha features enabled to be able to use the initializer. See https://kubernetes.io/docs/admin/extensible-admission-controllers/#enable-initializers-alpha-feature.
from spark-operator.
Li, appreciate the quick response. Any other way we can run it if alpha feature is not turned on ?
from spark-operator.
I can add a flag to allow disabling the initializer so you can run on a non-alpha cluster.
from spark-operator.
perfect thanks. Appreciate it.
from spark-operator.
Ref: #28. enable-initializer
is true
by default, you can set it to false
in spark-operator.yaml
.
from spark-operator.
Thanks for the quick turn-around.
One more question, how can we run an application when the application jars are not packaged into the driver and/or executor.
eg : with the spark-k8s project I can specify,
init-container:
image: "path to my init container image"
In submission.go I can see a note to the effect that "// Note that when the controller submits the application, it expects that all dependencies are local"
What is the recommended approach here? eg : resource staging server, persistent volume claim with jars on it.(If yes then, how would this be mounted at runtime?)
Appreciate the help!
from spark-operator.
What we often do is to stage jars/files to, e.g., a GCS bucket, (optionally) make them public, and list the https urls in the deps.jars
and deps.files
sections. If you don't want to make the dependencies on GCS public, you will need a custom init-container image for downloading from GCS. See https://gist.github.com/liyinan926/f9e81f7b54d94c05171a663345eb58bf for an example init-container image.
from spark-operator.
Ref: #15 tracks work for supporting non-container-local dependencies.
from spark-operator.
@devtagare Can this be closed now?
from spark-operator.
Yes. Thanks for the quick turnaround.
from spark-operator.
Related Issues (20)
- SparkApplication in version "v1beta2" cannot be handled as a SparkApplication HOT 2
- helm chart failed to render spark service account when extra annotations are specified
- Improve Spark Operator release process HOT 1
- [FEATURE] Enhance RBAC security
- [FEATURE] Publish docker artifacts for multiple Spark versions with each release HOT 2
- [FEATURE] Support exposing extra TCP ports in Spark Driver via K8s Ingress
- [BUG] spark-operator:v1beta2-1.4.3-3.5.0 crashes on start HOT 4
- [BUG] regression - not possible to watch all namespaces
- [BUG] Failed to pull image "ghcr.io/kubeflow/spark-operator:v1beta2-1.3.3-3.1.1 HOT 9
- [BUG] Helm charts are not getting published with Github workflow HOT 1
- [BUG] Spark application does not start on new Helm chart versions HOT 1
- [BUG] Spark-operator 1.12.3 crashes because of missing image HOT 5
- [QUESTION] Failed to resolve dependencies in GoLand HOT 2
- [FEATURE] Remove `spark-docker` directory and all contents from the project, OR identify clear use cases.
- Submitting spring boot spark job via spark Kubernetes operator HOT 1
- [BUG] Contents of `examples` directory do not function out of the box due to incorrect serviceaccount name
- [BUG] spark-operator-spark serviceaccount lacks necessary permissions HOT 2
- [QUESTION] spark-submit not called, and other questions HOT 6
- [BUG] Failed to pull image "gcr.io/spark-operator/spark:v3.1.1"
- [ERROR] Error initializing SparkContext
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spark-operator.