ibzib commented on a change in pull request #12157:
URL: https://github.com/apache/beam/pull/12157#discussion_r450521542



##########
File path: runners/spark/job-server/build.gradle
##########
@@ -82,13 +82,21 @@ runShadow {
     jvmArgs += 
["-Dorg.slf4j.simpleLogger.defaultLogLevel=${project.property('logLevel')}"]
 }
 
-def portableValidatesRunnerTask(String name) {
+def portableValidatesRunnerTask(String name, Boolean streaming) {
+  def pipelineOptions = [
+          // Limit resource consumption via parallelism
+          "--parallelism=2",

Review comment:
       This option only applies to Flink, it has no meaning in Spark. 
https://github.com/apache/beam/blob/103facbf80c2e4786e60367161ec59352196d04a/runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkPipelineOptions.java#L74




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to