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/11/12 17:12:01 UTC

[jira] [Commented] (BEAM-9445) Preoptimize causes error with environment setup

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

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

This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to P2.

> Preoptimize causes error with environment setup
> -----------------------------------------------
>
>                 Key: BEAM-9445
>                 URL: https://issues.apache.org/jira/browse/BEAM-9445
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Kyle Weaver
>            Priority: P3
>
> Setting --experiments=pre_optimize=all causes an error with StatisticsGen in the TFX taxi example pipeline [1]:
>   File "[redacted]/apache_beam/runners/portability/fn_api_runner_transforms.py", line 250, in executable_stage_transform
>     environment=components.environments[self.environment],
> TypeError: None has type NoneType, but expected one of: bytes, unicode [while running 'Run[StatisticsGen]']
> cc [~angoenka]
> [1] https://github.com/tensorflow/tfx/blob/ff314a6803675548c89a016a5110a91e5bf98024/tfx/examples/chicago_taxi_pipeline/taxi_pipeline_portable_beam.py#L155



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