You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Liu (Jira)" <ji...@apache.org> on 2021/09/12 14:30:00 UTC
[jira] [Comment Edited] (FLINK-23821) Test loopback mode to allow
Python UDF worker and client reuse the same Python VM
[ https://issues.apache.org/jira/browse/FLINK-23821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413715#comment-17413715 ]
Liu edited comment on FLINK-23821 at 9/12/21, 2:29 PM:
-------------------------------------------------------
Hi, [~hxbks2ks]. I have read the loopback mode and find that it is covered by some tests in _{{test_stream_execution_environment.py.}}_{{ }}
{{For this ticket, I think that we should give python_worker_execution_mode }}{{different}}{{ values and check whether the function }}
startup_loopback_server is called. The easiest check way is to see whether the param
PYFLINK_LOOPBACK_SERVER_ADDRESS is in j_env.
I am wondering whether my idea is right. Thank you.
was (Author: jiangang):
Hi, [~hxbks2ks]. I have read the loopback mode and find that it is covered by some tests in _{{test_stream_execution_environment.py.}}_{{ }}
{{For this ticket, I think that we should give python_worker_execution_mode }}{{different}}{{ values and check whether the function }}
startup_loopback_server is called. The easiest check way is to see whether the param
PYFLINK_LOOPBACK_SERVER_ADDRESS is in j_env.
I am wondering whether my idea is right. Thank you.
{{}}{{}}
> Test loopback mode to allow Python UDF worker and client reuse the same Python VM
> ---------------------------------------------------------------------------------
>
> Key: FLINK-23821
> URL: https://issues.apache.org/jira/browse/FLINK-23821
> Project: Flink
> Issue Type: Improvement
> Components: API / Python
> Reporter: Huang Xingbo
> Assignee: Liu
> Priority: Blocker
> Labels: release-testing
> Fix For: 1.14.0
>
>
> The newly introduced feature allows users to debug their python functions directly in IDEs such as PyCharm.
> For the details of debugging, you can refer to [doc|https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/python/debugging/#local-debug] and for the details of how to debug in PyCharm, you can refer to the [doc|https://www.jetbrains.com/help/pycharm/debugging-your-first-python-application.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)