[
https://issues.apache.org/jira/browse/BEAM-8004?focusedWorklogId=297805&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-297805
]
ASF GitHub Bot logged work on BEAM-8004:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Aug/19 11:50
Start Date: 20/Aug/19 11:50
Worklog Time Spent: 10m
Work Description: lgajowy commented on pull request #9381: [BEAM-8004]
Fix flaky Flink load tests
URL: https://github.com/apache/beam/pull/9381#discussion_r315645353
##########
File path: .test-infra/jenkins/Infrastructure.groovy
##########
@@ -108,10 +108,13 @@ class Infrastructure {
static void scaleCluster(def context, String jobName, Integer workerCount) {
context.steps {
- // Keep one extra Dataproc VM for Flink's Job Manager
- workerCount += 1
- shell("echo Changing number of workers to ${workerCount}")
- shell("gcloud dataproc clusters update ${getClusterName(jobName)}
--num-workers=${workerCount} --quiet")
+ environmentVariables {
+ env("FLINK_NUM_WORKERS", workerCount)
+ }
+ shell("gcloud dataproc clusters delete ${getClusterName(jobName)}
--quiet")
Review comment:
I see. Ok. In this case let's leave as it is. I am aware (and reviewing)
your refactoring effort in this class so we will clean it up there. 👍
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 297805)
Time Spent: 1.5h (was: 1h 20m)
> Flink Load tests are flaky
> --------------------------
>
> Key: BEAM-8004
> URL: https://issues.apache.org/jira/browse/BEAM-8004
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Lukasz Gajowy
> Assignee: Kamil Wasilewski
> Priority: Critical
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_LoadTests_Python_Combine_Flink_Batch/
> https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_LoadTests_Python_GBK_Flink_Batch/
> The tests are mostly failing (they sometimes succeed) due to issues with
> Dataproc cluster. The error:
> {code:java}
> root: DEBUG: java.net.UnknownHostException:
> beam-loadtests-python-gbk-flink-batch-68-w-10.c.apache-beam-testing.internal
> 13:35:25 at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
> 13:35:25 at java.net.InetAddress.getAllByName(InetAddress.java:1193)
> 13:35:25 at java.net.InetAddress.getAllByName(InetAddress.java:1127)
> 13:35:25 at java.net.InetAddress.getByName(InetAddress.java:1077)
> 13:35:25 at
> org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils.getRpcUrl(AkkaRpcServiceUtils.java:167)
> 13:35:25 at
> org.apache.flink.runtime.rpc.akka.AkkaRpcServiceUtils.getRpcUrl(AkkaRpcServiceUtils.java:133)
> 13:35:25 at
> org.apache.flink.runtime.highavailability.HighAvailabilityServicesUtils.createHighAvailabilityServices(HighAvailabilityServicesUtils.java:89)
> 13:35:25 at
> org.apache.flink.client.program.ClusterClient.<init>(ClusterClient.java:159)
> 13:35:25 at
> org.apache.flink.client.program.rest.RestClusterClient.<init>(RestClusterClient.java:185)
> 13:35:25 at
> org.apache.flink.client.program.rest.RestClusterClient.<init>(RestClusterClient.java:158)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.start(RemoteExecutor.java:152)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.executePlanWithJars(RemoteExecutor.java:202)
> 13:35:25 at
> org.apache.flink.client.RemoteExecutor.executePlan(RemoteExecutor.java:187)
> 13:35:25 at
> org.apache.flink.api.java.RemoteEnvironment.execute(RemoteEnvironment.java:173)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkBatchPortablePipelineTranslator$BatchTranslationContext.execute(FlinkBatchPortablePipelineTranslator.java:200)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkPipelineRunner.runPipelineWithTranslator(FlinkPipelineRunner.java:92)
> 13:35:25 at
> org.apache.beam.runners.flink.FlinkPipelineRunner.run(FlinkPipelineRunner.java:68)
> 13:35:25 at
> org.apache.beam.runners.fnexecution.jobsubmission.JobInvocation.runPipeline(JobInvocation.java:78)
> 13:35:25 at {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)