Last active
October 8, 2018 15:22
-
-
Save walteryu/d4cb1298b0de5aec30c7641005e12e14 to your computer and use it in GitHub Desktop.
hw3_p3.sh
This file contains 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
#!/bin/bash | |
# Download MySQL connector, store in working folder then unpack for use: | |
tar zxvf mysql-connector-java-5.1.31.tar.gz | |
# Call PySpark with MySQL connector: | |
pyspark --driver-class-path mysql-connector-java-5.1.47-bin.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment