[
https://issues.apache.org/jira/browse/SPARK-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063944#comment-14063944
]
Andrew Or commented on SPARK-2463:
----------------------------------
It probably won't be too much work, because the functionality of detaching a
tab is already there (just not used). The trickier bits are probably not the UI
code but in the streaming code, where we have to make sure that a SparkContext
only has one StreamingContext at any given time. We can maintain a static map
to track this, but there may be a few gotchas in sharing the same SparkContext
across multiple StreamingContexts (e.g. we have to make sure that blocks cached
by the first ssc cannot be read by the second ssc).
> Creating multiple StreamingContexts from shell generates duplicate Streaming
> tabs in UI
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-2463
> URL: https://issues.apache.org/jira/browse/SPARK-2463
> Project: Spark
> Issue Type: Bug
> Components: Streaming, Web UI
> Affects Versions: 1.0.1
> Reporter: Nicholas Chammas
>
> Start a {{StreamingContext}} from the interactive shell and then stop it. Go
> to {{http://master_url:4040/streaming/}} and you will see a tab in the UI for
> Streaming.
> Now from the same shell, create and start a new {{StreamingContext}}. There
> will now be a duplicate tab for Streaming in the UI. Repeating this process
> generates additional Streaming tabs.
> They all link to the same information.
--
This message was sent by Atlassian JIRA
(v6.2#6252)