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

Neelesh Srinivas Salian commented on SPARK-8743:
------------------------------------------------

[~tdas] should have a PR open in the next coupe of days. Still trying to 
understand a bit of the code.

Will this be separate method to de-register?  Or simply stop the metricRegistry 
after every streamContext stop?

> Deregister Codahale metrics for streaming when StreamingContext is closed 
> --------------------------------------------------------------------------
>
>                 Key: SPARK-8743
>                 URL: https://issues.apache.org/jira/browse/SPARK-8743
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Streaming
>    Affects Versions: 1.4.1
>            Reporter: Tathagata Das
>            Assignee: Neelesh Srinivas Salian
>              Labels: starter
>
> Currently, when the StreamingContext is closed, the registered metrics are 
> not deregistered. If another streaming context is started, it throws a 
> warning saying that the metrics are already registered. 
> The solution is to deregister the metrics when streamingcontext is stopped.



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

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

Reply via email to