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

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

                Author: ASF GitHub Bot
            Created on: 13/Dec/18 01:49
            Start Date: 13/Dec/18 01:49
    Worklog Time Spent: 10m 
      Work Description: tweise closed pull request #7174: [BEAM-5978] Changing 
parallelism for wordcount to 1
URL: https://github.com/apache/beam/pull/7174
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/build.gradle b/sdks/python/build.gradle
index c43706203067..63a67cf9875b 100644
--- a/sdks/python/build.gradle
+++ b/sdks/python/build.gradle
@@ -283,13 +283,16 @@ def portableWordCountTask(name, streaming, envdir) {
               "--input=/etc/profile",
               "--output=/tmp/py-wordcount-direct",
               "--runner=PortableRunner",
-              "--experiments=worker_threads=100",
       ]
-      if (streaming)
+
+      if (streaming) {
         options += ["--streaming"]
-      else
-      // workaround for local file output in docker container
+      } else {
+        // workaround for local file output in docker container
         options += ["--environment_cache_millis=10000"]
+        // [BEAM-5167] Workaround for scheduling issue between SDKHarness and 
Flink
+        options += ["--parallelism=1"]
+      }
       if (project.hasProperty("jobEndpoint"))
         options += ["--job_endpoint=${project.property('jobEndpoint')}"]
       exec {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 174727)
    Time Spent: 6h 50m  (was: 6h 40m)

> portableWordCount gradle task not working
> -----------------------------------------
>
>                 Key: BEAM-5978
>                 URL: https://issues.apache.org/jira/browse/BEAM-5978
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-python
>            Reporter: Ankur Goenka
>            Assignee: Ankur Goenka
>            Priority: Major
>             Fix For: 2.10.0
>
>          Time Spent: 6h 50m
>  Remaining Estimate: 0h
>
> A few issues with portableWordCount gradle task when running with jobserver 
> docker image
>  # Jobserver docker image docker mount fails on linux.
>  # Docker can not write read and write to local file system.
>  # Docker from jobserver docker container requires libltdl7 lib on linux.



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

Reply via email to