You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/06 03:46:14 UTC

[GitHub] [flink] HuangXingBo opened a new pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

HuangXingBo opened a new pull request #16732:
URL: https://github.com/apache/flink/pull/16732


   ## What is the purpose of the change
   
   *This pull request will support loopback mode to allow Python UDF worker and client reuse the same Python VM*
   
   ## Brief change log
   
     - *Support loopback mode to allow Python UDF worker and client reuse the same Python VM*
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
     - *Original IT in `test_dependency.py` and some dependcy management IT in `test_stream_execution_environment.py` will cover this feature*
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   * 7c4b9df737b635d36d4216de507d954d52c44019 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665) 
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893980043


   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 436c8922595728ab1158d2255dd766fdb4485576 (Fri Aug 06 03:49:50 UTC 2021)
   
    ✅no warnings
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   * 7c4b9df737b635d36d4216de507d954d52c44019 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673) 
   * 98b4a1bff13659aca4807333671acef9f0e1949b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e26f1f459cf8eb8e8f3da140830456261cee7041 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056) 
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673) 
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   * 95c86afc7bbc57ce08fc4c7e1c067747121b57d3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974) 
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   * 1020b27a2987d7967f67941dbadbc001238b2865 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   * e26f1f459cf8eb8e8f3da140830456261cee7041 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] dianfu commented on a change in pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
dianfu commented on a change in pull request #16732:
URL: https://github.com/apache/flink/pull/16732#discussion_r686742153



##########
File path: docs/content.zh/docs/dev/python/debugging.md
##########
@@ -51,6 +51,15 @@ $ python -c "import pyflink;import os;print(os.path.dirname(os.path.abspath(pyfl
 ```
 
 ## 调试Python UDFs
+
+### 本地调试
+
+你可以直接在 PyCharm 调试你的 Python 函数。

Review comment:
       ```suggestion
   你可以直接在 PyCharm 等 IDE 调试你的 Python 函数。
   ```

##########
File path: docs/content/docs/dev/python/debugging.md
##########
@@ -52,6 +52,15 @@ $ python -c "import pyflink;import os;print(os.path.dirname(os.path.abspath(pyfl
 ```
 
 ## Debugging Python UDFs
+
+### Local Debug
+
+You can debug your python functions directly in PyCharm.

Review comment:
       ```suggestion
   You can debug your python functions directly in IDEs such as PyCharm.
   ```

##########
File path: docs/content.zh/docs/dev/python/debugging.md
##########
@@ -51,6 +51,15 @@ $ python -c "import pyflink;import os;print(os.path.dirname(os.path.abspath(pyfl
 ```
 
 ## 调试Python UDFs
+
+### 本地调试
+
+你可以直接在 PyCharm 调试你的 Python 函数。
+
+**注意:** 当前,如果你使用了配置 `python-archives`,并且作业的并发度是大于`1`的,你只能够使用[远程调试](#远程调试)的方式。

Review comment:
       ```suggestion
   **注意:** 当前,如果你使用了配置 `python-archives`,并且作业的并发度是大于`1`的,只能够使用[远程调试](#远程调试)的方式。
   ```

##########
File path: flink-python/pyflink/fn_execution/beam/beam_worker_pool_service.py
##########
@@ -0,0 +1,159 @@
+################################################################################
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+# limitations under the License.
+################################################################################
+import atexit
+import functools
+import logging
+import os
+import sys
+import threading
+import traceback
+
+import grpc
+from apache_beam.options.pipeline_options import DebugOptions
+from apache_beam.options.pipeline_options import ProfilingOptions
+from apache_beam.portability.api import beam_fn_api_pb2
+from apache_beam.portability.api import beam_fn_api_pb2_grpc
+from apache_beam.portability.api import endpoints_pb2
+from apache_beam.portability.api.beam_provision_api_pb2 import GetProvisionInfoRequest
+from apache_beam.portability.api.beam_provision_api_pb2_grpc import ProvisionServiceStub
+from apache_beam.runners.worker import sdk_worker_main
+from apache_beam.runners.worker.log_handler import FnApiLogRecordHandler
+from apache_beam.runners.worker.sdk_worker import SdkHarness
+from apache_beam.utils import thread_pool_executor, profiler
+from google.protobuf import json_format
+
+from pyflink.fn_execution.beam import beam_sdk_worker_main  # noqa # pylint: disable=unused-import
+
+_LOGGER = logging.getLogger(__name__)
+
+
+class BeamFnLoopbackWorkerPoolServicer(beam_fn_api_pb2_grpc.BeamFnExternalWorkerPoolServicer):
+    """
+    Worker pool entry point.
+
+    The worker pool exposes an RPC service that is used in MiniCluster to start and stop the Python
+    SDK workers.
+
+    The worker pool uses child thread for parallelism
+    """
+
+    def __init__(self):
+        self._worker_server = None
+        self._parse_param_lock = threading.Lock()
+
+    def start(self):
+        worker_server = grpc.server(
+            thread_pool_executor.shared_unbounded_instance())
+        worker_address = 'localhost:%s' % worker_server.add_insecure_port('[::]:0')
+        beam_fn_api_pb2_grpc.add_BeamFnExternalWorkerPoolServicer_to_server(self, worker_server)
+        worker_server.start()
+        _LOGGER.info('Listening for workers at %s', worker_address)
+
+        self._worker_server = worker_server
+        atexit.register(functools.partial(worker_server.stop, 1))
+        return worker_address
+
+    def StartWorker(self,
+                    start_worker_request: beam_fn_api_pb2.StartWorkerRequest,
+                    unused_context):
+        try:
+            worker_thread = threading.Thread(
+                name='run_worker_%s' % start_worker_request.worker_id,
+                target=functools.partial(self._start_sdk_worker_main, start_worker_request))
+            worker_thread.daemon = True
+            worker_thread.start()
+            return beam_fn_api_pb2.StartWorkerResponse()
+        except Exception:
+            return beam_fn_api_pb2.StartWorkerResponse(error=traceback.format_exc())
+
+    def StopWorker(self,
+                   stop_worker_request: beam_fn_api_pb2.StopWorkerRequest,
+                   unused_context):
+        pass
+
+    def _start_sdk_worker_main(self, start_worker_request: beam_fn_api_pb2.StartWorkerRequest):
+        params = start_worker_request.params
+        self._parse_param_lock.acquire()
+        if 'PYTHONPATH' in params:
+            python_path_list = params['PYTHONPATH'].split(':')
+            python_path_list.reverse()
+            for path in python_path_list:
+                sys.path.insert(0, path)
+        if '_PYTHON_WORKING_DIR' in params:
+            os.chdir(params['_PYTHON_WORKING_DIR'])
+        os.environ.update(params)
+        self._parse_param_lock.release()
+
+        # read job information from provision stub
+        metadata = [("worker_id", start_worker_request.worker_id)]
+        provision_endpoint = start_worker_request.provision_endpoint.url
+        with grpc.insecure_channel(provision_endpoint) as channel:
+            client = ProvisionServiceStub(channel=channel)
+            info = client.GetProvisionInfo(GetProvisionInfoRequest(), metadata=metadata).info
+            options = json_format.MessageToJson(info.pipeline_options)
+            logging_endpoint = info.logging_endpoint.url
+            control_endpoint = info.control_endpoint.url
+
+        try:
+            logging_service_descriptor = endpoints_pb2.ApiServiceDescriptor(url=logging_endpoint)
+
+            # Send all logs to the runner.
+            fn_log_handler = FnApiLogRecordHandler(logging_service_descriptor)
+            logging.getLogger().setLevel(logging.ERROR)
+            logging.getLogger().addHandler(fn_log_handler)
+        except Exception:
+            _LOGGER.error(
+                "Failed to set up logging handler, continuing without.",
+                exc_info=True)
+            fn_log_handler = None
+
+        sdk_pipeline_options = sdk_worker_main._parse_pipeline_options(options)
+
+        semi_persistent_directory = start_worker_request.params['SEMI_PERSISTENT_DIRECTORY']
+
+        _worker_id = start_worker_request.worker_id
+
+        try:
+            sdk_worker_main._load_main_session(semi_persistent_directory)

Review comment:
       Should we remove this?

##########
File path: flink-python/src/main/java/org/apache/flink/streaming/api/operators/python/PythonKeyedProcessOperator.java
##########
@@ -134,6 +134,12 @@ public void onProcessingTime(InternalTimer<Row, Object> timer) throws Exception
 
     @Override
     public PythonFunctionRunner createPythonFunctionRunner() throws Exception {
+        if (getConfig().getConfig().containsKey("loopback.server.address")) {

Review comment:
       This is a little tricky. Is it possible to avoid this?

##########
File path: docs/content/docs/dev/python/debugging.md
##########
@@ -52,6 +52,15 @@ $ python -c "import pyflink;import os;print(os.path.dirname(os.path.abspath(pyfl
 ```
 
 ## Debugging Python UDFs
+
+### Local Debug
+
+You can debug your python functions directly in PyCharm.
+
+**Note:** Currently, if your job take use of config `python-archives` and the parallelism of the job is bigger than `1`, you can only use [remote debug](#remote-debug) mode.

Review comment:
       ```suggestion
   **Note:** Currently, if you use `python-archives` in the job and the parallelism of the job is greater than `1`, you can only use [remote debug](#remote-debug) mode.
   ```

##########
File path: flink-python/pyflink/datastream/stream_execution_environment.py
##########
@@ -920,6 +922,30 @@ def _from_collection(self, elements: List[Any],
 
     def _generate_stream_graph(self, clear_transformations: bool = False, job_name: str = None) \
             -> JavaObject:
+        # start BeamFnLoopbackWorkerPoolServicer when executed in MiniCluster
+        j_configuration = get_j_env_configuration(self._j_stream_execution_environment)
+        if not self._remote_mode and is_local_deployment(j_configuration):
+            from pyflink.common import Configuration
+            from pyflink.fn_execution.beam.beam_worker_pool_service import \
+                BeamFnLoopbackWorkerPoolServicer
+
+            jvm = get_gateway().jvm
+            env_config = jvm.org.apache.flink.python.util.PythonConfigUtil \
+                .getEnvironmentConfig(self._j_stream_execution_environment)
+            parallelism = self.get_parallelism()
+            if parallelism > 1 and env_config.containsKey(jvm.PythonOptions.PYTHON_ARCHIVES.key()):
+                import logging
+                logging.warning("Currently in MiniCluster mode, if you use the API "

Review comment:
       What about paragraph it as following:
   ```
   Lookback mode is disabled as python archives are used and the parallelism of the job is greater than 1. The Python user-defined functions will be executed in an independent Python process.
   ```

##########
File path: flink-python/pyflink/table/table_environment.py
##########
@@ -1743,6 +1744,26 @@ def _before_execute(self):
         classpaths_key = jvm.org.apache.flink.configuration.PipelineOptions.CLASSPATHS.key()
         self._add_jars_to_j_env_config(jars_key)
         self._add_jars_to_j_env_config(classpaths_key)
+        # start BeamFnLoopbackWorkerPoolServicer when executed in MiniCluster
+        if not self._remote_mode and \
+                is_local_deployment(get_j_env_configuration(self._get_j_env())):
+            j_config = self.get_config().get_configuration()

Review comment:
       It may happens that the parallelism is configured in flink-conf.yaml




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   * 95c86afc7bbc57ce08fc4c7e1c067747121b57d3 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] dianfu commented on a change in pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
dianfu commented on a change in pull request #16732:
URL: https://github.com/apache/flink/pull/16732#discussion_r688285631



##########
File path: flink-python/src/main/java/org/apache/flink/streaming/api/operators/python/AbstractPythonFunctionOperator.java
##########
@@ -59,6 +59,8 @@
 
     private static final long serialVersionUID = 1L;
 
+    protected Configuration config;

Review comment:
       minor: can be declared as private since there is a getter for it.




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7c4b9df737b635d36d4216de507d954d52c44019 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665) 
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238",
       "triggerID" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22254",
       "triggerID" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   * 1020b27a2987d7967f67941dbadbc001238b2865 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238) 
   * 9747e77a5fb20f3ff96752bc6419b3bc908affb3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22254) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238",
       "triggerID" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   * 1020b27a2987d7967f67941dbadbc001238b2865 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238",
       "triggerID" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22254",
       "triggerID" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1020b27a2987d7967f67941dbadbc001238b2865 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238) 
   * 9747e77a5fb20f3ff96752bc6419b3bc908affb3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22254) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   * 95c86afc7bbc57ce08fc4c7e1c067747121b57d3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   * 7c4b9df737b635d36d4216de507d954d52c44019 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot commented on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   * e26f1f459cf8eb8e8f3da140830456261cee7041 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   * 7c4b9df737b635d36d4216de507d954d52c44019 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   * e26f1f459cf8eb8e8f3da140830456261cee7041 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056) 
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   * e26f1f459cf8eb8e8f3da140830456261cee7041 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056) 
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 436c8922595728ab1158d2255dd766fdb4485576 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654) 
   * 7c4b9df737b635d36d4216de507d954d52c44019 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665) 
   * 478cd2f5873830700bec057e02d30dcaf3fd35f7 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 95c86afc7bbc57ce08fc4c7e1c067747121b57d3 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974) 
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] dianfu commented on a change in pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
dianfu commented on a change in pull request #16732:
URL: https://github.com/apache/flink/pull/16732#discussion_r688188004



##########
File path: flink-python/src/main/java/org/apache/flink/table/runtime/operators/python/AbstractStatelessFunctionOperator.java
##########
@@ -179,6 +179,10 @@ public PythonFunctionRunner createPythonFunctionRunner() throws IOException {
         if (config.containsKey("table.exec.timezone")) {
             jobOptions.put("table.exec.timezone", config.getString("table.exec.timezone", null));
         }
+        if (config.containsKey("loopback.server.address")) {

Review comment:
       If moving jobOptions to AbstractPythonFunctionOperator, this could be removed.

##########
File path: flink-python/src/main/java/org/apache/flink/streaming/api/operators/python/AbstractOneInputPythonFunctionOperator.java
##########
@@ -57,12 +57,12 @@
 
     private static final long serialVersionUID = 1L;
 
-    /** The options used to configure the Python worker process. */
-    private final Map<String, String> jobOptions;
-
     /** The TypeInformation of input data. */
     private final TypeInformation<IN> inputTypeInfo;
 
+    /** The options used to configure the Python worker process. */
+    private transient Map<String, String> jobOptions;

Review comment:
       Move it to AbstractPythonFunctionOperator

##########
File path: flink-python/src/main/java/org/apache/flink/streaming/api/operators/python/AbstractPythonFunctionOperator.java
##########
@@ -273,12 +271,12 @@ public boolean isBundleFinished() {
 
     /** Reset the {@link PythonConfig} if needed. */
     public void setPythonConfig(PythonConfig pythonConfig) {
-        this.config = pythonConfig;

Review comment:
       Since pythonConfig is an transient variable, we should refactor this method to setConfiguration(Configuration conf)




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] HuangXingBo closed pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
HuangXingBo closed pull request #16732:
URL: https://github.com/apache/flink/pull/16732


   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21988",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22056",
       "triggerID" : "e26f1f459cf8eb8e8f3da140830456261cee7041",
       "triggerType" : "PUSH"
     }, {
       "hash" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071",
       "triggerID" : "af08c1af7cdba855f3f68413565bd03e7c6dfa9a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238",
       "triggerID" : "1020b27a2987d7967f67941dbadbc001238b2865",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "9747e77a5fb20f3ff96752bc6419b3bc908affb3",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * af08c1af7cdba855f3f68413565bd03e7c6dfa9a Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22071) 
   * 1020b27a2987d7967f67941dbadbc001238b2865 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22238) 
   * 9747e77a5fb20f3ff96752bc6419b3bc908affb3 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] flinkbot edited a comment on pull request #16732: [FLINK-21222][python] Support loopback mode to allow Python UDF worker and client reuse the same Python VM

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16732:
URL: https://github.com/apache/flink/pull/16732#issuecomment-893984711


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "436c8922595728ab1158d2255dd766fdb4485576",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21654",
       "triggerID" : "436c8922595728ab1158d2255dd766fdb4485576",
       "triggerType" : "PUSH"
     }, {
       "hash" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21665",
       "triggerID" : "7c4b9df737b635d36d4216de507d954d52c44019",
       "triggerType" : "PUSH"
     }, {
       "hash" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21673",
       "triggerID" : "478cd2f5873830700bec057e02d30dcaf3fd35f7",
       "triggerType" : "PUSH"
     }, {
       "hash" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752",
       "triggerID" : "98b4a1bff13659aca4807333671acef9f0e1949b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974",
       "triggerID" : "95c86afc7bbc57ce08fc4c7e1c067747121b57d3",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2326f56c5adad54e50f817bc9d9555bd48dd465d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 98b4a1bff13659aca4807333671acef9f0e1949b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21752) 
   * 95c86afc7bbc57ce08fc4c7e1c067747121b57d3 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=21974) 
   * 2326f56c5adad54e50f817bc9d9555bd48dd465d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org