[
https://issues.apache.org/jira/browse/BEAM-5978?focusedWorklogId=163316&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-163316
]
ASF GitHub Bot logged work on BEAM-5978:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Nov/18 01:24
Start Date: 07/Nov/18 01:24
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_r231353383
##########
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 works with streaming as streaming uses a single container because of long
running tasks. However, even in streaming, the output will not be visible as
the output will be generated inside docker container which will be destroyed on
termination.
----------------------------------------------------------------
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: 163316)
Time Spent: 1h 10m (was: 1h)
> 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 10m
> 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)