-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spark-session cannot be changed (any more ?) #301
Comments
I just saw that this is not a Delay any more. So we get the SparkSession initialized once we require the name space. So it cannot be re-configured. |
I see... I think we can change it back to a delay. Would you like to make a PR for that? |
Maybe there is a better way. Maybe the default "configuration map" for the session https://github.com/behrica/geni/blob/482c4b934f037d32b849916211b509c94d89800e/src/clojure/zero_one/geni/defaults.clj#L5 Could become an "atom" , which can be changed if needed before I think that the current feature to potentially change the session itself is not super usefull, |
I think it could work this way. The issue would be to keep the "full automatic" session configuration of the geni-cli.
is brittle as it will not work always and depends on "order" of requiring ns / using functions. I think we have three options for this:
I still like the overall idea of the geni CLI as a quick user friendly entry point, but it needs to allow arbitrary session configs. |
Here is a link to our previous discussions for reference
You are correct. Typically, a user's spark session settings would be set during the call to Most Spark usage (across all languages) happens by launching a spark "application" (for example, a Geni REPL) on an existing spark cluster. It is not expected that the spark application creates it's own cluster, and thus the session config is supplied when the I'm not too familiar with Kubernetes, so I am having trouble following the guide. It looks like the Geni CLI is being started outside of I have had success with starting Geni REPLs on flintrock clusters using |
Following the minikube guide:
https://github.com/zero-one-group/geni/blame/develop/docs/kubernetes_basic.md
the verification of line 118 fails.
It seems that I cannot change the spark-session, by calling
g/create-spark-session
I am pretty sure, that it worked at one moment.
The text was updated successfully, but these errors were encountered: