[
https://issues.apache.org/jira/browse/BEAM-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15855741#comment-15855741
]
ASF GitHub Bot commented on BEAM-1405:
--------------------------------------
GitHub user iemejia opened a pull request:
https://github.com/apache/beam/pull/1934
[BEAM-1405} Spark runner should not close the spark context when set to
reuse it
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [X] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [X] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [X] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [ ] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.txt).
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iemejia/beam BEAM-1405-spark-stop-context
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/1934.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1934
----
commit 4b1ba982d0cd734fcfd007bf1507ffe8d791e670
Author: Ismaël Mejía <[email protected]>
Date: 2017-02-07T08:41:04Z
[BEAM-1405] Refactor to remove repeated code from test
commit 3b29d67c6fea02c7ed5bfa7c4a4702994e05204a
Author: Ismaël Mejía <[email protected]>
Date: 2017-02-07T10:35:47Z
[BEAM-1405] Skip stopping context when spark context is provided
----
> Spark runner should not close the spark context when set to reuse it
> --------------------------------------------------------------------
>
> Key: BEAM-1405
> URL: https://issues.apache.org/jira/browse/BEAM-1405
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Affects Versions: 0.6.0
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
>
> It seems that we don't take into account the options when we decide to close
> the spark context, this produces an exception when trying to reuse a provided
> context.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)