[ 
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 Flink and Spark 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

In my case on OSX everything passed fine locally and timeouted on Jenkins.

 

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

For now the tests run on Flink and Spark 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.
It's possible that on darwin this should be different address (example in 
xlang_kafkaio_it_test, get_platform_localhost method)
 # 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

In my case on OSX everything passed fine locally and timeouted on Jenkins.

 


> 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 Flink and Spark 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
> In my case on OSX everything passed fine locally and timeouted on Jenkins.
>  



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

Reply via email to