Comments (6)
In your import block, can you try using k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned
and k8s.io/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1alpha1
?
from spark-on-k8s-operator.
same problem
import (
sparkClientset "k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned"
sparkV1aplpha1 "k8s.io/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1alpha1"
)
$ go get
# cd .; git clone https://github.com/kubernetes/spark-on-k8s-operator /Users/scott/go/src/k8s.io/spark-on-k8s-operator
Cloning into '/Users/scott/go/src/k8s.io/spark-on-k8s-operator'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
package k8s.io/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1alpha1: exit status 128
package k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned: cannot find package "k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned" in any of:
/usr/local/Cellar/go/1.10/libexec/src/k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned (from $GOROOT)
/Users/scott/go/src/k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned (from $GOPATH)
k8s.io/spark-on-k8s-operator seems to be resolving to https://github.com/kubernetes/spark-on-k8s-operator but that's not a repo that appears to exist. is it perhaps a private repo?
from spark-on-k8s-operator.
Yes, currently k8s.io/spark-on-k8s-operator
will not resolve. I think what you need to do is:
git clone github.com/GoogleCloudPlatform/spark-on-k8s-operator $GOPATH/src/k8s.io/spark-on-k8s-operator
.- Use
k8s.io/spark-on-k8s-operator/pkg/client/clientset/versioned
andk8s.io/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1alpha1
in imports.
from spark-on-k8s-operator.
git clone github.com/GoogleCloudPlatform/spark-on-k8s-operator $GOPATH/src/k8s.io/spark-on-k8s-operator
gets the job done (notably for anyone else reading this you left out src
above)
tho it would be nice if this weren't necessary.. either by having k8s.io/spark-on-k8s-operator
resolve properly or regen the code to reference github.com/GoogleCloudPlatform/spark-on-k8s-operator
from spark-on-k8s-operator.
I will update the code to reference github.com/GoogleCloudPlatform/spark-on-k8s-operator
since this is not under the kubernetes project anyway.
from spark-on-k8s-operator.
Opened #154. Closing this.
from spark-on-k8s-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 8
- [BUG] Spark operator not create enough ingressURL when create batch sparkapplication
- [BUG] Unable to assign environment variables HOT 4
- [QUESTION] Error related with webhook HOT 3
- 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-on-k8s-operator.