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

ASF subversion and git services commented on AIRFLOW-1563:
----------------------------------------------------------

Commit faa9a5266c0b2e68693dd106b5cb46d30770dadc in incubator-airflow's branch 
refs/heads/master from [~nzeilemaker]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=faa9a52 ]

[AIRFLOW-1563] Catch OSError while symlinking the latest log directory

Closes #2564 from NielsZeilemaker/AIRFLOW-1563


> OSError while attempting to symlink latest log folder
> -----------------------------------------------------
>
>                 Key: AIRFLOW-1563
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1563
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: cli
>    Affects Versions: Airflow 1.8
>            Reporter: Niels Zeilemaker
>            Assignee: Niels Zeilemaker
>
> We're getting an OSError due a azure fileshare volume mount being used for 
> the logs
> Traceback (most recent call last):
>   File "/usr/local/bin/airflow", line 28, in <module>
>     args.func(args)
>   File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 882, 
> in scheduler
>     job.run()
>   File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 200, in 
> run
>     self._execute()
>   File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 1312, 
> in _execute
>     self._execute_helper(processor_manager)
>   File "/usr/local/lib/python2.7/dist-packages/airflow/jobs.py", line 1409, 
> in _execute_helper
>     simple_dags = processor_manager.heartbeat()
>   File 
> "/usr/local/lib/python2.7/dist-packages/airflow/utils/dag_processing.py", 
> line 631, in heartbeat
>     self.symlink_latest_log_directory()
>   File 
> "/usr/local/lib/python2.7/dist-packages/airflow/utils/dag_processing.py", 
> line 525, in symlink_latest_log_directory
>     os.symlink(log_directory, latest_log_directory_path)
> OSError: [Errno 95] Operation not supported



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to