You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Udi Meiri (Jira)" <ji...@apache.org> on 2021/03/31 18:41:00 UTC
[jira] [Updated] (BEAM-10299) sdk_worker_main needlessly warns
about missing main session file
[ https://issues.apache.org/jira/browse/BEAM-10299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udi Meiri updated BEAM-10299:
-----------------------------
Status: Open (was: Triage Needed)
> sdk_worker_main needlessly warns about missing main session file
> ----------------------------------------------------------------
>
> Key: BEAM-10299
> URL: https://issues.apache.org/jira/browse/BEAM-10299
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Udi Meiri
> Priority: P3
>
> If --save_main_session is not used, _load_main_session will emit a warning:
> {code}
> No session file found: /<path>/pickled_main_session. Functions defined in __main__ (interactive session) may fail.
> {code}
> Perhaps make this info level if --save_main_session wasn't passed?
> Aside: Is it safe to parse options before _load_main_session?
> Also, what does "interactive session" mean here? The wording is from a 2017 commit (by [~altay]), and the new interactive runner comes to mind now instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)