You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Stas Levin (JIRA)" <ji...@apache.org> on 2017/03/14 07:45:41 UTC
[jira] [Updated] (BEAM-1713) SparkRuntimeContext instances are
leaking via StateSpecFunctions#mapSourceFunction
[ https://issues.apache.org/jira/browse/BEAM-1713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stas Levin updated BEAM-1713:
-----------------------------
Summary: SparkRuntimeContext instances are leaking via StateSpecFunctions#mapSourceFunction (was: {{SparkRuntimeContext}} instances are leaking via {{StateSpecFunctions#mapSourceFunction}})
> SparkRuntimeContext instances are leaking via StateSpecFunctions#mapSourceFunction
> ----------------------------------------------------------------------------------
>
> Key: BEAM-1713
> URL: https://issues.apache.org/jira/browse/BEAM-1713
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Reporter: Stas Levin
> Assignee: Stas Levin
> Priority: Minor
>
> When creating an anonymous class like so:
> {code:java}new Iterable<byte[]>() {...}{code} it is capturing the enclosing scope's {{SparkRuntimeContext}} instance in {{StateSpecFunctions#mapSourceFunction}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)