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

[jira] [Updated] (BEAM-10429) JdbcIO for cross-language timing out on beam_PostCommit_XVR_Flink

     [ https://issues.apache.org/jira/browse/BEAM-10429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Szuberski updated BEAM-10429:
-----------------------------------
    Description: 
CrossLanguageJdbcIOTest are timing out on Jenkins after submitting `Run XVR_Flink PostCommit` job.

For now the tests run on Python 3.8 Postcommit suite like KafkaIO cross-language test.

How to reconstruct it:
 # Add @attr('UsesCrossLanguageTransforms') to the CrossLanguageJdbcIOTest class
 # Use ``` expansion_jar = os.environ.get('EXPANSION_JAR')
 port = os.environ.get('EXPANSION_PORT')
 address = 'localhost:%s' % port``` and pass the address as expansion_service param of the write and read transform
 # Add ```p.get_pipeline_options().view_as(DebugOptions).experiments.append('jar_packages=' + expansion_jar)``` to the pipeline
 # Run :runners:flink:1.10:job-server:validatesCrossLanguageRunner task locally and `Run XVR_Flink PostCommit` on Jenkins

Examples of the customization are in xlang_parquetio_test.py

 

  was:
CrossLanguageJdbcIOTest are timing out on Jenkins after submitting `Run XVR_Flink PostCommit` job.

How to reconstruct it:
 # Add @attr('UsesCrossLanguageTransforms') to the CrossLanguageJdbcIOTest class
 # Use ``` expansion_jar = os.environ.get('EXPANSION_JAR')
 port = os.environ.get('EXPANSION_PORT')
 address = 'localhost:%s' % port``` and pass the address as expansion_service param of the write and read transform
 # Add ```p.get_pipeline_options().view_as(DebugOptions).experiments.append('jar_packages=' + expansion_jar)``` to the pipeline
 # Run :runners:flink:1.10:job-server:validatesCrossLanguageRunner task locally and `Run XVR_Flink PostCommit` on Jenkins

Examples of the customization are in xlang_parquetio_test.py

 


> JdbcIO for cross-language timing out on beam_PostCommit_XVR_Flink
> -----------------------------------------------------------------
>
>                 Key: BEAM-10429
>                 URL: https://issues.apache.org/jira/browse/BEAM-10429
>             Project: Beam
>          Issue Type: Bug
>          Components: cross-language
>    Affects Versions: Not applicable
>            Reporter: Piotr Szuberski
>            Priority: P2
>             Fix For: Not applicable
>
>
> CrossLanguageJdbcIOTest are timing out on Jenkins after submitting `Run XVR_Flink PostCommit` job.
> For now the tests run on Python 3.8 Postcommit suite like KafkaIO cross-language test.
> How to reconstruct it:
>  # Add @attr('UsesCrossLanguageTransforms') to the CrossLanguageJdbcIOTest class
>  # Use ``` expansion_jar = os.environ.get('EXPANSION_JAR')
>  port = os.environ.get('EXPANSION_PORT')
>  address = 'localhost:%s' % port``` and pass the address as expansion_service param of the write and read transform
>  # Add ```p.get_pipeline_options().view_as(DebugOptions).experiments.append('jar_packages=' + expansion_jar)``` to the pipeline
>  # Run :runners:flink:1.10:job-server:validatesCrossLanguageRunner task locally and `Run XVR_Flink PostCommit` on Jenkins
> Examples of the customization are in xlang_parquetio_test.py
>  



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