You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/10 17:07:09 UTC

[jira] [Commented] (BEAM-9687) Names of temporary files created by interactive runner include characters invalid on some platforms.

    [ https://issues.apache.org/jira/browse/BEAM-9687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174496#comment-17174496 ] 

Beam JIRA Bot commented on BEAM-9687:
-------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.


> Names of temporary files created by interactive runner include characters invalid on some platforms.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-9687
>                 URL: https://issues.apache.org/jira/browse/BEAM-9687
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Priority: P2
>              Labels: stale-P2
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Temporary files created by interactive runner in streaming scenarios include pipe '|' characters, which are not allowed in filenames on Windows platform. This causes test failures on a Windows platform:
> ====================================
> python setup.py nosetests --tests apache_beam/runners/interactive/pipeline_instrument_test.py:PipelineInstrumentTest.test_instrument_example_unbounded_pipeline_to_multiple_read_cache
> ======================================================================
> ERROR: Tests that the instrumenter works for multiple unbounded sources.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\projects\apache_beam\runners\interactive\pipeline_instrument_test.py", line 698, in test_instrument_example_unbounded_pipeline_to_multiple_read_cache
>     self._mock_write_cache([b''], cache_key)
>   File "C:\projects\apache_beam\runners\interactive\pipeline_instrument_test.py", line 227, in _mock_write_cache
>     ie.current_env().cache_manager().write(values, *labels)
>   File "C:\projects\apache_beam\runners\interactive\caching\streaming_cache.py", line 323, in write
>     with open(filepath, 'ab') as f:
> IOError: [Errno 22] invalid mode ('ab') or filename: 'c:\\users\\deft-t~1\\appdata\\local\\temp\\2\\interactive-temp-xwg5qi\\full\\pcoll_1|149781752|149781920|1
> 49231600'
> ====================================
> [1] 
> https://github.com/apache/beam/blob/e6b37c44d542969b6104fc97ee6f25b6f7d2ddba/sdks/python/apache_beam/runners/interactive/caching/streaming_cache.py#L323



--
This message was sent by Atlassian Jira
(v8.3.4#803005)