spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Orka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-17707) Web UI prevents spark-submit application to be finished
Date Thu, 06 Oct 2016 11:31:20 GMT

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

Nick Orka commented on SPARK-17707:
-----------------------------------

Calling stop() would be a good idea if there were not getOrCreate(). Spark context is reusable.
If you start two simultaneous threads when are you supposed to stop() the context explicitly?

Is it better to fix the issue for backward compatibility or make context non-reusable?

> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message