Skip to content

Instantly share code, notes, and snippets.

@elliottcordo
Created December 15, 2014 22:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save elliottcordo/c9c6e7a524b4613ccda3 to your computer and use it in GitHub Desktop.
Save elliottcordo/c9c6e7a524b4613ccda3 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 hadoop@ec2-54-221-27-21.compute-1.amazonaws.com
#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