Last active
April 11, 2018 16:38
-
-
Save NDari/d055302deb8aa88dfe512aedd96feb67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # jupyter | |
| ssh -o ServerAliveInterval=10 -o StrictHostKeyChecking=no -i ~/AWS-datascience-EMR.pem -N -L 8889:${1}:8889 hadoop@${1} & | |
| # sparkUI | |
| ssh -o ServerAliveInterval=10 -o StrictHostKeyChecking=no -i ~/AWS-datascience-EMR.pem -N -L 18080:${1}:18080 hadoop@${1} & | |
| # hadoop fs | |
| ssh -o ServerAliveInterval=10 -o StrictHostKeyChecking=no -i ~/AWS-datascience-EMR.pem -N -L 8088:${1}:8088 hadoop@${1} & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment