nchammas / flintrock

A command-line tool for launching Apache Spark clusters.
Apache License 2.0
638 stars 116 forks source link

Allow Ports Ranging 4040 ~ 4050 #163

Closed serialx closed 7 years ago

serialx commented 7 years ago

Current flintrock only allows public access on port 4040. But when there is more than one Spark applications running, additional ports are allocated for SparkUI. Default port are 4040 in the SparkUI code. But, when the default port is already allocated, it increments the port until bind is successful.

I think we should allow port range 4040 ~ 4050.

I'll prep a PR soon. Does this makes sense?

nchammas commented 7 years ago

Yup, sounds good to me.