[
https://issues.apache.org/jira/browse/BEAM-8004?focusedWorklogId=297785&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-297785
]
ASF GitHub Bot logged work on BEAM-8004:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Aug/19 11:09
Start Date: 20/Aug/19 11:09
Worklog Time Spent: 10m
Work Description: kamilwu commented on pull request #9381: [BEAM-8004]
Fix flaky Flink load tests
URL: https://github.com/apache/beam/pull/9381#discussion_r315630939
##########
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:
Unfortunately, I've found no better solution than recreating the cluster
with a new number of workers. We can get back to this as soon as we find
another way of scaling down the cluster. WDYT?
This code here is repetitive but it will be fixed in the ongoing refactor.
----------------------------------------------------------------
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: 297785)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)