Skip to content

Instantly share code, notes, and snippets.

@frankcleary
Last active August 29, 2015 14:04
Show Gist options
  • Save frankcleary/28ba9265f5ac54eb3025 to your computer and use it in GitHub Desktop.
Save frankcleary/28ba9265f5ac54eb3025 to your computer and use it in GitHub Desktop.
sshemr(){
jobid=`/path/to/elastic-mapreduce --list --active | awk '{ print $1 }' | head -n1`
/path/to/elastic-mapreduce --ssh $jobid
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment