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

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

                Author: ASF GitHub Bot
            Created on: 07/Nov/18 01:03
            Start Date: 07/Nov/18 01:03
    Worklog Time Spent: 10m 
      Work Description: angoenka 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_r231351028
 
 

 ##########
 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:
   We don't support local filesystem with docker execution mode. This was 
actually failing with batch mode as the temp files were created inside docker.
   We can also move to process based execution but it requires difficult 
artifact distribution.

----------------------------------------------------------------
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: 163306)
    Time Spent: 50m  (was: 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
>          Time Spent: 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