[
https://issues.apache.org/jira/browse/BEAM-7534?focusedWorklogId=263415&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-263415
]
ASF GitHub Bot logged work on BEAM-7534:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jun/19 23:46
Start Date: 19/Jun/19 23:46
Worklog Time Spent: 10m
Work Description: ihji commented on pull request #8828: [BEAM-7534] add
--mountTempDir option for Docker container
URL: https://github.com/apache/beam/pull/8828#discussion_r295566663
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/options/ManualDockerEnvironmentOptions.java
##########
@@ -32,6 +32,14 @@
void setRetainDockerContainers(boolean retainDockerContainers);
+ @Description(
+ "Mount temporary directory to Docker container instance. "
+ + "The parameter is a path relative to the system temporary
directory "
+ + "e.g. '--mountTempDir foo' implies '/tmp/foo' on Linux.")
+ String getMountTempDir();
Review comment:
Wouldn't it be better to keep paths as close as possible like /tmp/foo
(local) and /tmp/foo (docker)? It might be confusing if we mount /tmp/foo
(local) to /tmp/beam_mount/tmp/foo (docker).
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 263415)
Time Spent: 1.5h (was: 1h 20m)
> add --mountTempDir option for easier data sharing with Docker container
> -----------------------------------------------------------------------
>
> Key: BEAM-7534
> URL: https://issues.apache.org/jira/browse/BEAM-7534
> Project: Beam
> Issue Type: Improvement
> Components: java-fn-execution
> Reporter: Heejong Lee
> Assignee: Heejong Lee
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> add --mountTempDir option for easier data sharing with Docker container.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)