Re: How to set UI port #?

2015-01-12 Thread Prannoy
Set the port using

spconf.set("spark.ui.port","");

where,  is any port

spconf is your spark configuration object.

On Sun, Jan 11, 2015 at 2:08 PM, YaoPau [via Apache Spark User List] <
ml-node+s1001560n21083...@n3.nabble.com> wrote:

> I have multiple Spark Streaming jobs running all day, and so when I run my
> hourly batch job, I always get a "java.net.BindException: Address already
> in use" which starts at 4040 then goes to 4041, 4042, 4043 before settling
> at 4044.
>
> That slows down my hourly job, and time is critical.  Is there a way I can
> set it to 4044 by default, or prevent the UI from launching altogether?
>
> Jon
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-UI-port-tp21083.html
>  To start a new topic under Apache Spark User List, email
> ml-node+s1001560n1...@n3.nabble.com
> To unsubscribe from Apache Spark User List, click here
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhbm5veUBzaWdtb2lkYW5hbHl0aWNzLmNvbXwxfC0xNTI2NTg4NjQ2>
> .
> NAML
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-UI-port-tp21083p21090.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: How to set UI port #?

2015-01-11 Thread jeanlyn92
HI,YaoPau:
You can set `spark.ui.port` to 0 ,the program will find a available port by
random

2015-01-11 16:38 GMT+08:00 YaoPau :

> I have multiple Spark Streaming jobs running all day, and so when I run my
> hourly batch job, I always get a "java.net.BindException: Address already
> in
> use" which starts at 4040 then goes to 4041, 4042, 4043 before settling at
> 4044.
>
> That slows down my hourly job, and time is critical.  Is there a way I can
> set it to 4044 by default, or prevent the UI from launching altogether?
>
> Jon
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-UI-port-tp21083.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>


How to set UI port #?

2015-01-11 Thread YaoPau
I have multiple Spark Streaming jobs running all day, and so when I run my
hourly batch job, I always get a "java.net.BindException: Address already in
use" which starts at 4040 then goes to 4041, 4042, 4043 before settling at
4044.

That slows down my hourly job, and time is critical.  Is there a way I can
set it to 4044 by default, or prevent the UI from launching altogether?

Jon



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-set-UI-port-tp21083.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org