You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/06/04 12:27:00 UTC

[jira] [Commented] (AIRFLOW-1381) DockerOperator does not allow specification of temporary directory on host

    [ https://issues.apache.org/jira/browse/AIRFLOW-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855642#comment-16855642 ] 

ASF GitHub Bot commented on AIRFLOW-1381:
-----------------------------------------

OmerJog commented on pull request #5369: [AIRFLOW-1381] Specify host temporary directory
URL: https://github.com/apache/airflow/pull/5369
 
 
   3rd attempt to https://issues.apache.org/jira/browse/AIRFLOW-1381
   
   Previous PRs:
   https://github.com/apache/airflow/pull/4315
   https://github.com/apache/airflow/pull/2418
   
   Lets get this in this time :) 
 
----------------------------------------------------------------
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:
users@infra.apache.org


> DockerOperator does not allow specification of temporary directory on host
> --------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1381
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1381
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 1.9.0
>         Environment: Causes failure under default conditions in OS X
>            Reporter: Benjamin Sims
>            Priority: Minor
>              Labels: docker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The Docker uses the standard TemporaryDirectory mechanism to add a volume to the container which is mapped to a temporary directory on the host. 
> By default, TemporaryDirectory places this in a location such as /var/folders/xxx/xxxxx/T/airflowtmpyi9pnn6w. 
> However, Docker on OS X only allows certain folders to be shared into a container. /var/folders is not shared on OS X (and cannot be shared) and the operator will therefore fail with a 'Mounts denied' message.
> This can be solved by setting the environment variable TMPDIR to a path which Docker is able to share. However a solution to set this in the Operator itself would also be useful.



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