diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2011-12-14 18:18:22 +0100 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2011-12-14 18:18:22 +0100 |
commit | 6a650cbbdf7d64d9a79d8dcfe7850e1d678413e0 (patch) | |
tree | 921b2204adce213de59a35f38e82948184036469 | |
parent | 735843a0498ea794c8206d3bc66d86a1fe97509d (diff) | |
download | spark-6a650cbbdf7d64d9a79d8dcfe7850e1d678413e0.tar.gz spark-6a650cbbdf7d64d9a79d8dcfe7850e1d678413e0.tar.bz2 spark-6a650cbbdf7d64d9a79d8dcfe7850e1d678413e0.zip |
Make Spark port default to 7077 so that it's not an ephemeral port that might be taken
-rw-r--r-- | core/src/main/scala/spark/SparkContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/spark/SparkContext.scala b/core/src/main/scala/spark/SparkContext.scala index 25b879ba96..7db4573299 100644 --- a/core/src/main/scala/spark/SparkContext.scala +++ b/core/src/main/scala/spark/SparkContext.scala @@ -43,7 +43,7 @@ extends Logging { if (System.getProperty("spark.master.host") == null) System.setProperty("spark.master.host", Utils.localHostName) if (System.getProperty("spark.master.port") == null) - System.setProperty("spark.master.port", "50501") + System.setProperty("spark.master.port", "7077") // Make sure a proper class loader is set for remote actors (unless user set one) if (RemoteActor.classLoader == null) |