Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save praveen-symphony/c2e29e9e201df1ad9dfdbdf3ddedffc1 to your computer and use it in GitHub Desktop.
Save praveen-symphony/c2e29e9e201df1ad9dfdbdf3ddedffc1 to your computer and use it in GitHub Desktop.
EMR spark thrift server
#on cluster
thrift /spark/sbin/start-thriftserver.sh --master yarn-client
#ssh tunnel, direct 10000 to unused 8157
ssh -i ~/caserta-1.pem -N -L 8157:ec2-54-221-27-21.compute-1.amazonaws.com:10000 [email protected]
#see this for JDBC config on client http://blogs.aws.amazon.com/bigdata/post/TxT7CJ0E7CRX88/Using-Amazon-EMR-with-SQL-Workbench-and-other-BI-Tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment