[ https://issues.apache.org/jira/browse/BEAM-9548?focusedWorklogId=408969&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-408969 ]
ASF GitHub Bot logged work on BEAM-9548: ---------------------------------------- Author: ASF GitHub Bot Created on: 24/Mar/20 17:40 Start Date: 24/Mar/20 17:40 Worklog Time Spent: 10m Work Description: rohdesamuel commented on pull request #11163: [BEAM-9548] Add better error handling to the TestStreamServiceController URL: https://github.com/apache/beam/pull/11163#discussion_r397342416 ########## File path: sdks/python/apache_beam/runners/interactive/caching/streaming_cache.py ########## @@ -166,13 +169,15 @@ def _wait_until_file_exists(self, timeout_secs=30): # Wait for up to `timeout_secs` for the file to be available. start = time.time() - path = os.path.join(self._cache_dir, *self._labels) - while not os.path.exists(path): + while not os.path.exists(self._path): time.sleep(1) if time.time() - start > timeout_timestamp_secs: + from apache_beam.runners.interactive.pipeline_instrument import CacheKey + pcollection_var = CacheKey.from_str(self._labels[-1]).var Review comment: Yeah, because these are Python variables, they have very strict naming conventions which is ok to use for file names (alphanumeric with the addition of an underscore). ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 408969) Time Spent: 40m (was: 0.5h) > Bad error handling with errors from TestStreamService when using Interactive > Beam > --------------------------------------------------------------------------------- > > Key: BEAM-9548 > URL: https://issues.apache.org/jira/browse/BEAM-9548 > Project: Beam > Issue Type: Bug > Components: runner-py-interactive > Reporter: Sam Rohde > Assignee: Sam Rohde > Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > The error handling when an error is generated on the GRPC server side is very > verbose and hides the problem. -- This message was sent by Atlassian Jira (v8.3.4#803005)