Comments (3)
@alstjs37 Can you use kubectl describe <your-sparkapp>
and provide the output? And if pod was created, check pod log too
from spark-operator.
@imtzer thx for you answer
I've already checked, but this is the part of the log
that contains the starting point of the error.
Status:
Application State:
Error Message: failed to run spark-submit for SparkApplication spark-operator/pyspark-pi: 24/05/21 04:51:06 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
24/05/21 04:51:06 INFO SparkKubernetesClientFactory: Auto-configuring K8S client using current context from users K8S config file
24/05/21 04:51:07 INFO KerberosConfDriverFeatureStep: You have not specified a krb5.conf file locally or via a ConfigMap. Make sure that you have the krb5.conf locally on the driver image.
24/05/21 04:51:07 WARN DriverCommandFeatureStep: spark.kubernetes.pyspark.pythonVersion was deprecated in Spark 3.1. Please set 'spark.pyspark.python' and 'spark.pyspark.driver.python' configurations or PYSPARK_PYTHON and PYSPARK_DRIVER_PYTHON environment variables instead.
24/05/21 04:51:48 ERROR Client: Please check "kubectl auth can-i create pod" first. It should be yes.
Exception in thread "main" io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:129)
at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:122)
at io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:44)
I checked Please check "kubectl auth can-i create pod" first
this command, but i got yes
from k8s.
And then there's a SUBMISSION_FAILED
, so pod is not generated 😭
Do you expect anything else?
from spark-operator.
Related Issues (20)
- 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 HOT 1
- [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" HOT 5
- [ERROR] Error initializing SparkContext
- [QUESTION] configmap not found HOT 1
- Custom environment variables provided in Kubernetes spark job is not getting picked up HOT 2
- [BUG] spark.eventLog.enable and spark.eventLog.dir not working HOT 2
- [FEATURE] integrate this operator into training-operator
- [FEATURE] Upgrade default image to Spark 3.5.1
- [BUG] Executor state map becoming too large can result in failures to write the CR to etcd
- how works cache or persist with Spark Operator
- [FEATURE] Manage Spark History Server as a deployment via the Spark Operator helm chart. HOT 10
- [BUG] Spark operator not create enough ingressURL when create batch sparkapplication
- [BUG] Unable to assign environment variables HOT 4
- Helm chart references non-existent version `v1beta2-1.4.2-3.5.0` HOT 3
- [BUG] spark-operator v1beta2-1.4.2-3.5.0 install with helm timeout HOT 4
- Add support for livenessProbe and ReadinessProbe of driver and executor pods HOT 4
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.