I installed scala and apache-spark using homebrew and it installed scala 2.12.4 and apache-spark 2.2.0. However, if you checkout spark-shell -version
it uses a different scala version.
How do I set spark-shell to use the installed scala version? Is there way to set scala version used by apache-spark during homebrew installation?
TL;DR You cannot.
Two problems:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.