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

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

                Author: ASF GitHub Bot
            Created on: 07/Nov/18 09:52
            Start Date: 07/Nov/18 09:52
    Worklog Time Spent: 10m 
      Work Description: mxm commented on a change in pull request #6954: 
[BEAM-5978] Adding libltdl7 to flink job server docker and correctly picking 
the docker executable.
URL: https://github.com/apache/beam/pull/6954#discussion_r231440393
 
 

 ##########
 File path: sdks/python/build.gradle
 ##########
 @@ -285,18 +285,18 @@ task directRunnerIT(dependsOn: 'installGcpTest') {
 //
 //  Docker (2a):
 //
-//    ./gradlew :beam-sdks-python:portableWordCount
+//    ./gradlew :beam-sdks-python:portableWordCount -PoutputDir=<Path to 
distributed file system>
 //
 //  Local JobService (2b):
 //
-//    ./gradlew :beam-sdks-python:portableWordCount 
-PjobEndpoint=localhost:8099
+//    ./gradlew :beam-sdks-python:portableWordCount -PoutputDir=<Path to 
distributed file system> -PjobEndpoint=localhost:8099
 //
 task portableWordCount(dependsOn: 'installGcpTest') {
   doLast {
     // TODO: Figure out GCS credentials and use real GCS input and output.
     def options = [
             "--input=/etc/profile",
-            "--output=/tmp/py-wordcount-direct",
+            "--output=${project.property('outputDir')}",
 
 Review comment:
   It used to work in batch and streaming. It would be nice to keep it that way 
for demoing purposes. Most people don't have a shared file system available.

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 163392)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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
>          Time Spent: 1h 20m
>  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