beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Groh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-1935) DirectRunner Cancel should never throw a RejectedExecutionException
Date Tue, 11 Apr 2017 20:47:41 GMT

     [ 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)

Mime
View raw message