Skip to content

Commit 9ce78b4

Browse files
koaningshivaram
authored andcommitted
[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 <[email protected]> Author: vincent <[email protected]> Closes apache#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
1 parent ec78438 commit 9ce78b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ec2/spark_ec2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ def launch_cluster(conn, opts, cluster_name):
505505
master_group.authorize('tcp', 50070, 50070, authorized_address)
506506
master_group.authorize('tcp', 60070, 60070, authorized_address)
507507
master_group.authorize('tcp', 4040, 4045, authorized_address)
508+
# Rstudio (GUI for R) needs port 8787 for web access
509+
master_group.authorize('tcp', 8787, 8787, authorized_address)
508510
# HDFS NFS gateway requires 111,2049,4242 for tcp & udp
509511
master_group.authorize('tcp', 111, 111, authorized_address)
510512
master_group.authorize('udp', 111, 111, authorized_address)

0 commit comments

Comments
 (0)