[ https://issues.apache.org/jira/browse/BEAM-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964938#comment-15964938 ]
ASF GitHub Bot commented on BEAM-1935: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/2493 > 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 > > 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)