[ 
https://issues.apache.org/jira/browse/BEAM-7368?focusedWorklogId=251310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-251310
 ]

ASF GitHub Bot logged work on BEAM-7368:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/May/19 20:52
            Start Date: 30/May/19 20:52
    Worklog Time Spent: 10m 
      Work Description: angoenka commented on pull request #8636: [BEAM-7368] 
Flink + Python + gbk load test
URL: https://github.com/apache/beam/pull/8636#discussion_r289167359
 
 

 ##########
 File path: .test-infra/jenkins/job_LoadTests_GBK_Flink_Python.groovy
 ##########
 @@ -0,0 +1,80 @@
+/*
+ * 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 Infrastructure as infra
+
+String jenkinsJobName = 'beam_LoadTests_Python_GBK_Flink_Batch'
+String now = new Date().format("MMddHHmmss", TimeZone.getTimeZone('UTC'))
+String dockerRegistryRoot = 'gcr.io/apache-beam-testing/beam_portability'
+String dockerTag = 'latest'
+String jobServerImageTag = 
"${dockerRegistryRoot}/flink-job-server:${dockerTag}"
+String pythonHarnessImageTag = "${dockerRegistryRoot}/python:${dockerTag}"
+int numWorkers = 3
+
+def testConfiguration =
+        [
+                title        : 'Load test: 2GB of 10B records',
+                itClass      : 
'apache_beam.testing.load_tests.group_by_key_test:GroupByKeyTest.testGroupByKey',
+                runner       : CommonTestProperties.Runner.PORTABLE,
+                sdk          : CommonTestProperties.SDK.PYTHON,
+                jobProperties: [
+                        job_name            : 
"load_tests_Python_Flink_Batch_GBK_1_${now}",
+                        publish_to_big_query: false,
+                        project             : 'apache-beam-testing',
+                        metrics_dataset     : 'load_test',
+                        metrics_table       : "python_flink_batch_GBK_1",
+                        input_options       : '\'{"num_records": 
200000000,"key_size": 1,"value_size":9}\'',
+                        iterations          : 1,
+                        fanout              : 1,
+                        parallelism         : 5,
 
 Review comment:
   The cluster should have equal or more Tasks Slots (Slots per 
TaskManager(Worker) * Number of TaskManagers(Worker)).
   Also, because of the way SDKHarness are shared in Flink taskmanager, I would 
recommend having 1 TaskSlot per worker an change numWorker to match parallelism 
in the test.
 
----------------------------------------------------------------
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: 251310)
    Time Spent: 5h  (was: 4h 50m)

> Run Python GBK load tests on portable Flink runner
> --------------------------------------------------
>
>                 Key: BEAM-7368
>                 URL: https://issues.apache.org/jira/browse/BEAM-7368
>             Project: Beam
>          Issue Type: Sub-task
>          Components: testing
>            Reporter: Lukasz Gajowy
>            Assignee: Lukasz Gajowy
>            Priority: Major
>          Time Spent: 5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to