-
-
Save Quar/66d1eb8be3fc538e9c24e07679f9940e to your computer and use it in GitHub Desktop.
spark dependency with Makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### config packages #### | |
| PACKAGES := \ | |
| net.liftweb:lift-json:2.0 \ | |
| datastax:spark-cassandra-connector:1.6.10-s_2.11 \ | |
| #### main part #### | |
| null := | |
| space := $(null) # | |
| comma := , | |
| pkgs = $(subst $(space),$(comma),$(PACKAGES)) | |
| .PHONY: spark-shell | |
| spark-shell: | |
| spark-shell --packages '$(pkgs)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment