diff options
author | Vincent D. Warmerdam <vincentwarmerdam@gmail.com> | 2015-06-28 13:33:33 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-06-28 13:33:33 -0700 |
commit | 9ce78b4343febe87c4edd650c698cc20d38f615d (patch) | |
tree | 6dc289dc7045a7bc7e1ae28c4f78b9b57d72f190 /ec2/spark_ec2.py | |
parent | ec784381967506f8db4d6a357c0b72df25a0aa1b (diff) | |
download | spark-9ce78b4343febe87c4edd650c698cc20d38f615d.tar.gz spark-9ce78b4343febe87c4edd650c698cc20d38f615d.tar.bz2 spark-9ce78b4343febe87c4edd650c698cc20d38f615d.zip |
[SPARK-8596] [EC2] Added port for Rstudio
This would otherwise need to be set manually by R users in AWS.
https://issues.apache.org/jira/browse/SPARK-8596
Author: Vincent D. Warmerdam <vincentwarmerdam@gmail.com>
Author: vincent <vincentwarmerdam@gmail.com>
Closes #7068 from koaning/rstudio-port-number and squashes the following commits:
ac8100d [vincent] Update spark_ec2.py
ce6ad88 [Vincent D. Warmerdam] added port number for rstudio
Diffstat (limited to 'ec2/spark_ec2.py')
-rwxr-xr-x | ec2/spark_ec2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index e4932cfa7a..18ccbc0a3e 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -505,6 +505,8 @@ def launch_cluster(conn, opts, cluster_name): master_group.authorize('tcp', 50070, 50070, authorized_address) master_group.authorize('tcp', 60070, 60070, authorized_address) master_group.authorize('tcp', 4040, 4045, authorized_address) + # Rstudio (GUI for R) needs port 8787 for web access + master_group.authorize('tcp', 8787, 8787, authorized_address) # HDFS NFS gateway requires 111,2049,4242 for tcp & udp master_group.authorize('tcp', 111, 111, authorized_address) master_group.authorize('udp', 111, 111, authorized_address) |