[
https://issues.apache.org/jira/browse/BEAM-8267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver resolved BEAM-8267.
-------------------------------
Fix Version/s: 2.17.0
Resolution: Fixed
> Python loopback throws spurious errors on shutdown
> --------------------------------------------------
>
> Key: BEAM-8267
> URL: https://issues.apache.org/jira/browse/BEAM-8267
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: Kyle Weaver
> Assignee: Kyle Weaver
> Priority: Minor
> Fix For: 2.17.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> These errors don't appear to actually cause any problems, but they are
> misleading. Looks like we're trying to stop subprocesses even when there
> _are_ no subprocesses.
>
> ERROR:grpc._server:Exception calling application: u'1-1'
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/grpc/_server.py", line 434, in
> _call_behavior
> response_or_iterator = behavior(argument, context)
> File
> "/usr/local/lib/python2.7/dist-packages/apache_beam-2.17.0.dev0-py2.7.egg/apache_beam/runners/worker/worker_pool_main.py",
> line 126, in StopWorker
> worker_process = self._worker_processes.pop(stop_worker_request.worker_id)
> KeyError: u'1-1'
--
This message was sent by Atlassian Jira
(v8.3.2#803003)