Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10429

JdbcIO for cross-language timing out on beam_PostCommit_XVR_Flink

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Cannot Reproduce
    • Not applicable
    • Not applicable
    • cross-language
    • None

    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:

      1. Add @attr('UsesCrossLanguageTransforms') to the CrossLanguageJdbcIOTest class
      2. 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.
      3. Add
        p.get_pipeline_options().view_as(DebugOptions).experiments.append('jar_packages=' + expansion_jar)
        to the pipeline
      4. 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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            piotr-szuberski Piotr Szuberski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: