Skip to content

Instantly share code, notes, and snippets.

@piccolbo
Forked from elliottcordo/emr_spark_thrift_on_yarn
Created January 27, 2016 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piccolbo/e6cd88f3645dbccca11c to your computer and use it in GitHub Desktop.
Save piccolbo/e6cd88f3645dbccca11c 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