[
https://issues.apache.org/jira/browse/BEAM-7176?focusedWorklogId=235576&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-235576
]
ASF GitHub Bot logged work on BEAM-7176:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Apr/19 22:44
Start Date: 30/Apr/19 22:44
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #8444: [BEAM-7176]
don't reuse Spark context in tests (causes OOM)
URL: https://github.com/apache/beam/pull/8444
`reuseSparkContext` was set true in the legacy Spark runner's validation
test config (not sure why), but it seems to be causing OOM errors.
After this PR, there still seem to be memory issues, but they happen later
on in test execution (110+ tests pass vs ~60).
R: @angoenka @iemejia
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Python3_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
<br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/)
| --- | --- | ---
Pre-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
--- |Java | Python | Go | Website
--- | --- | --- | --- | ---
Non-portable | [](https://builds.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PreCommit_Website_Cron/lastCompletedBuild/)
Portable | --- | [](https://builds.apache.org/job/beam_PreCommit_Portable_Python_Cron/lastCompletedBuild/)
| --- | ---
See
[.test-infra/jenkins/README](https://github.com/apache/beam/blob/master/.test-infra/jenkins/README.md)
for trigger phrase, status and link of all Jenkins jobs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 235576)
Time Spent: 10m
Remaining Estimate: 0h
> Spark validatesPortableRunner test OOM
> --------------------------------------
>
> Key: BEAM-7176
> URL: https://issues.apache.org/jira/browse/BEAM-7176
> Project: Beam
> Issue Type: Bug
> Components: runner-spark
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> First ~50 tests run okay, and then this happens:
> {{org.apache.beam.sdk.transforms.CombineTest$WindowingTests >
> testGlobalCombineWithDefaultsAndTriggers FAILED}}
> {{ java.lang.AssertionError at
> [CombineTest.java:1209|http://combinetest.java:1209/]}}
> {{org.apache.beam.sdk.transforms.CombineTest$WindowingTests >
> testCombineGloballyLambda FAILED}}
> {{ java.lang.RuntimeException at
> [CombineTest.java:1391|http://combinetest.java:1391/]}}
> {{ Caused by: java.lang.RuntimeException at
> [CombineTest.java:1391|http://combinetest.java:1391/]}}
> {{ Caused by: java.util.concurrent.ExecutionException at
> [CombineTest.java:1391|http://combinetest.java:1391/]}}
> {{ Caused by: java.lang.OutOfMemoryError}}
> {{}}
> ....
> Most subsequent tests OOM after that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
