Shivarp1 commented on issue #8792:
URL: https://github.com/apache/airflow/issues/8792#issuecomment-698716278
@jvstein one question..
How can we create /airflow/xcom folder when the user for the new worker pod
spawned does not have the root access?
when I try this ..
cmds=["RUN mkdir -p /airflow", "RUN chmod -R 777 /airflow", "/bin/bash",
"-cx"],
arguments=['mkdir /airflow/xcom','echo \'{\"success\": True}\' >
/airflow/xcom/return.json', 'exit 0'],
..
I get this error..
{{pod_launcher.py:156}} INFO - b'container_linux.go:235: starting container
process caused "exec: \\"RUN mkdir -p /airflow\\": stat RUN mkdir -p /airflow:
no such file or directory"\n'
Thanks
----------------------------------------------------------------
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]