[
https://issues.apache.org/jira/browse/BEAM-7028?focusedWorklogId=232732&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-232732
]
ASF GitHub Bot logged work on BEAM-7028:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Apr/19 11:01
Start Date: 25/Apr/19 11:01
Worklog Time Spent: 10m
Work Description: mwalenia commented on pull request #8360: [BEAM-7028]
Add Combine and ParDo Java load tests
URL: https://github.com/apache/beam/pull/8360#discussion_r278500253
##########
File path: .test-infra/jenkins/job_LoadTests_Combine_Java.groovy
##########
@@ -0,0 +1,216 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import CommonJobProperties as commonJobProperties
+import CommonTestProperties
+import LoadTestsBuilder as loadTestsBuilder
+import PhraseTriggeringPostCommitBuilder
+import CronJobBuilder
+
+def commonLoadTestConfig = { jobName, streaming ->
+ [
+ [
+ title : 'Load test: 2GB of 10B records',
+ itClass : 'org.apache.beam.sdk.loadtests.CombineLoadTest',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ project : 'apache-beam-testing',
+ appName :
"load_tests_Java_Dataflow_${jobName}_Combine_1",
+ tempLocation :
'gs://temp-storage-for-perf-tests/loadtests',
+ publishToBigQuery : true,
+ bigQueryDataset : 'load_test',
+ bigQueryTable : "java_dataflow_${jobName}_Combine_1",
+ sourceOptions : """
+ {
+ "numRecords": 200000000,
+ "keySizeBytes": 1,
+ "valueSizeBytes": 9
+ }
+ """.trim().replaceAll("\\s", ""),
+ fanout : 1,
+ iterations : 1,
+ topCount : 20,
+ maxNumWorkers : 5,
+ numWorkers : 5,
+ autoscalingAlgorithm: "NONE",
+ perKeyCombiner : "TOP_LARGEST",
+ streaming : streaming
+ ]
+ ],
+ [
+ title : 'Load test: 2GB of 100B records',
+ itClass :
'org.apache.beam.sdk.loadtests.CombineLoadTest',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ project : 'apache-beam-testing',
+ appName :
"load_tests_Java_Dataflow_${jobName}_Combine_2",
+ tempLocation :
'gs://temp-storage-for-perf-tests/loadtests',
+ publishToBigQuery : true,
+ bigQueryDataset : 'load_test',
+ bigQueryTable :
"java_dataflow_${jobName}_Combine_2",
+ sourceOptions : """
+ {
+ "numRecords": 20000000,
+ "keySizeBytes": 10,
+ "valueSizeBytes": 90
+ }
+ """.trim().replaceAll("\\s",
""),
+ fanout : 1,
+ iterations : 1,
+ topCount : 20,
+ maxNumWorkers : 5,
+ numWorkers : 5,
+ autoscalingAlgorithm: "NONE",
+ perKeyCombiner : "TOP_LARGEST",
+ streaming : streaming
+ ]
+ ],
+ [
+
+ title : 'Load test: 2GB of 100kB records',
+ itClass :
'org.apache.beam.sdk.loadtests.CombineLoadTest',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ project : 'apache-beam-testing',
+ appName :
"load_tests_Java_Dataflow_${jobName}_Combine_3",
+ tempLocation :
'gs://temp-storage-for-perf-tests/loadtests',
+ publishToBigQuery : true,
+ bigQueryDataset : 'load_test',
+ bigQueryTable :
"java_dataflow_${jobName}_Combine_3",
+ sourceOptions : """
+ {
+ "numRecords": 2000,
+ "keySizeBytes": 100000,
+ "valueSizeBytes": 900000
+ }
+ """.trim().replaceAll("\\s",
""),
+ fanout : 1,
+ iterations : 1,
+ topCount : 20,
+ maxNumWorkers : 5,
+ numWorkers : 5,
+ autoscalingAlgorithm: "NONE",
+ perKeyCombiner : "TOP_LARGEST",
+ streaming : streaming
+ ]
+
+ ],
+ [
+ title : 'Load test: fanout 4 times with 2GB 10-byte
records total',
+ itClass :
'org.apache.beam.sdk.loadtests.CombineLoadTest',
+ runner : CommonTestProperties.Runner.DATAFLOW,
+ jobProperties: [
+ project : 'apache-beam-testing',
+ appName :
"load_tests_Java_Dataflow_${jobName}_Combine_4",
+ tempLocation :
'gs://temp-storage-for-perf-tests/loadtests',
+ publishToBigQuery : true,
+ bigQueryDataset : 'load_test',
+ bigQueryTable :
"java_dataflow_${jobName}_Combine_4",
+ sourceOptions : """
+ {
+ "numRecords": 5000000,
+ "keySizeBytes": 10,
+ "valueSizeBytes": 90
+ }
+ """.trim().replaceAll("\\s",
""),
+ fanout : 4,
+ iterations : 1,
+ topCount : 20,
+ maxNumWorkers : 5,
Review comment:
Changed according to the proposal, thanks!
----------------------------------------------------------------
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: 232732)
Time Spent: 11h 50m (was: 11h 40m)
> Create ParDo and Combine streaming load test jobs for Java SDK
> --------------------------------------------------------------
>
> Key: BEAM-7028
> URL: https://issues.apache.org/jira/browse/BEAM-7028
> Project: Beam
> Issue Type: Sub-task
> Components: testing
> Reporter: Michal Walenia
> Assignee: Michal Walenia
> Priority: Minor
> Time Spent: 11h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)