[ 
https://issues.apache.org/jira/browse/SPARK-17707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552796#comment-15552796
 ] 

Sean Owen commented on SPARK-17707:
-----------------------------------

[~maver1ck] I looked into the Jetty code and found several call sites that 
would make a non-daemon thread called "Scheduler-X" using its 
ScheduledExecutorScheduler class. I am reasonably sure it comes from using 
ServerConnector. We can manage to construct this with a different impl that 
will make daemon threads.

I can make a pull request to try that out, though I suppose none of our 
existing tests catch this case. Let me see if I can make up a test or at least 
check it locally, though it may be of interest to you to try out too.

> Web UI prevents spark-submit application to be finished
> -------------------------------------------------------
>
>                 Key: SPARK-17707
>                 URL: https://issues.apache.org/jira/browse/SPARK-17707
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.0.1
>            Reporter: Nick Orka
>
> Here are re-production steps:
> 1. create any scala spark application which will work long enough to open the 
> application details in Web UI
> 2. run spark-submit command for standalone cluster, like: --master 
> spark:\\localhost:7077
> 3. open running application details in Web UI, like: localhost:4040
> 4. spark-submit will never finish, you will have to kill the process
> Cause: The application creates a thread with infinite loop for web UI 
> communication  and never stops it. The application is waiting for the thread 
> to be finished instead, even if you close the web page.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to