Skip to content
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

Add parameters to Spark candidates #193

Open
hammer opened this issue Jan 6, 2020 · 1 comment
Open

Add parameters to Spark candidates #193

hammer opened this issue Jan 6, 2020 · 1 comment

Comments

@hammer
Copy link

hammer commented Jan 6, 2020

Some pre-built Spark releases are built with support for different versions of Scala and/or Hadoop.

For example, there are 4 different Spark 2.4.4 pre-built releases:

File name Scala Hadoop
spark-2.4.4-bin-without-hadoop.tgz 2.11 None
spark-2.4.4-bin-hadoop2.6.tgz 2.11 2.6
spark-2.4.4-bin-hadoop2.7.tgz 2.11 2.7+
spark-2.4.4-bin-without-hadoop-scala-2.12.tgz 2.12 None

It would be nice if sdkman knew about these options.

@marc0der
Copy link
Member

marc0der commented Jan 8, 2020

This could be handled in a simple way by using the version string. The max length is 15 so we could try using that. In other words something like 2.4.4_2.11_2.6.

Sdkman is completely agnostic of the candidates it serves (except in the case of Java), and I really don't want to hack the core for candidate specific exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants