You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Groh (JIRA)" <ji...@apache.org> on 2017/04/11 20:47:41 UTC

[jira] [Resolved] (BEAM-1935) DirectRunner Cancel should never throw a RejectedExecutionException

     [ https://issues.apache.org/jira/browse/BEAM-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Groh resolved BEAM-1935.
-------------------------------
       Resolution: Fixed
    Fix Version/s: First stable release

> DirectRunner Cancel should never throw a RejectedExecutionException
> -------------------------------------------------------------------
>
>                 Key: BEAM-1935
>                 URL: https://issues.apache.org/jira/browse/BEAM-1935
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-direct
>            Reporter: Thomas Groh
>            Assignee: Thomas Groh
>             Fix For: First stable release
>
>
> cancelShouldStopPipeline(org.apache.beam.runners.direct.DirectRunnerTest)  Time elapsed: 0.025 sec  <<< ERROR!
> java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@391aff79 rejected from java.util.concurrent.ThreadPoolExecutor@3d257c82[Shutting down, pool size = 1, active threads = 1, queue
> d tasks = 0, completed tasks = 0]
>         at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
>         at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
>         at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
>         at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
>         at org.apache.beam.runners.direct.TransformExecutorServices$ParallelEvaluationState.schedule(TransformExecutorServices.java:69)
>         at org.apache.beam.runners.direct.ExecutorServiceParallelExecutor.evaluateBundle(ExecutorServiceParallelExecutor.java:245)
>         at org.apache.beam.runners.direct.ExecutorServiceParallelExecutor.scheduleConsumption(ExecutorServiceParallelExecutor.java:208)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)