Skip to content

Instantly share code, notes, and snippets.

@walteryu
Last active October 8, 2018 15:22
Show Gist options
  • Save walteryu/d4cb1298b0de5aec30c7641005e12e14 to your computer and use it in GitHub Desktop.
Save walteryu/d4cb1298b0de5aec30c7641005e12e14 to your computer and use it in GitHub Desktop.
hw3_p3.sh
#!/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