[jira] [Assigned] (SPARK-19508) Improve error message when binding service fails

2017-02-20 Thread Sean Owen (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-19508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen reassigned SPARK-19508:
-

Assignee: Liang-Chi Hsieh

> Improve error message when binding service fails
> 
>
> Key: SPARK-19508
> URL: https://issues.apache.org/jira/browse/SPARK-19508
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 2.1.0
>Reporter: Liang-Chi Hsieh
>Assignee: Liang-Chi Hsieh
>Priority: Trivial
> Fix For: 2.2.0
>
>
> Utils provides a helper function to bind service on port. This function can 
> bind the service to a random free port. However, if the binding fails on a 
> random free port, the retrying and final exception messages look confusing.
> {code}
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 ERROR SparkContext: Error initializing SparkContext.
> java.net.BindException: Can't assign requested address: Service 'sparkDriver' 
> failed after 16 retries (starting from 0)! Consider explicitly setting the 
> appropriate port for the service 'sparkDriver' (for example spark.ui.port for 
> SparkUI) to an available port or increasing spark.port.maxRetries.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Assigned] (SPARK-19508) Improve error message when binding service fails

2017-02-07 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-19508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-19508:


Assignee: (was: Apache Spark)

> Improve error message when binding service fails
> 
>
> Key: SPARK-19508
> URL: https://issues.apache.org/jira/browse/SPARK-19508
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 2.1.0
>Reporter: Liang-Chi Hsieh
>Priority: Trivial
>
> Utils provides a helper function to bind service on port. This function can 
> bind the service to a random free port. However, if the binding fails on a 
> random free port, the retrying and final exception messages look confusing.
> {code}
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 ERROR SparkContext: Error initializing SparkContext.
> java.net.BindException: Can't assign requested address: Service 'sparkDriver' 
> failed after 16 retries (starting from 0)! Consider explicitly setting the 
> appropriate port for the service 'sparkDriver' (for example spark.ui.port for 
> SparkUI) to an available port or increasing spark.port.maxRetries.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Assigned] (SPARK-19508) Improve error message when binding service fails

2017-02-07 Thread Apache Spark (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-19508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-19508:


Assignee: Apache Spark

> Improve error message when binding service fails
> 
>
> Key: SPARK-19508
> URL: https://issues.apache.org/jira/browse/SPARK-19508
> Project: Spark
>  Issue Type: Improvement
>  Components: Spark Core
>Affects Versions: 2.1.0
>Reporter: Liang-Chi Hsieh
>Assignee: Apache Spark
>Priority: Trivial
>
> Utils provides a helper function to bind service on port. This function can 
> bind the service to a random free port. However, if the binding fails on a 
> random free port, the retrying and final exception messages look confusing.
> {code}
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 WARN Utils: Service 'sparkDriver' could not bind on port 0. 
> Attempting port 1.
> 17/02/06 16:25:43 ERROR SparkContext: Error initializing SparkContext.
> java.net.BindException: Can't assign requested address: Service 'sparkDriver' 
> failed after 16 retries (starting from 0)! Consider explicitly setting the 
> appropriate port for the service 'sparkDriver' (for example spark.ui.port for 
> SparkUI) to an available port or increasing spark.port.maxRetries.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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